[MB-7170] sample loader fails if there are multiple nodes in the cluster and bucket creation time takes more than few seconds Created: 13/Nov/12  Updated: 09/Apr/13  Resolved: 01/Apr/13

Status: Closed
Project: Couchbase Server
Component/s: tools
Affects Version/s: None
Fix Version/s: 2.1.0, 3.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Farshid Ghods (Inactive) Assignee: Abhinav Dangeti
Resolution: Fixed Votes: 0
Labels: 2.0-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive ns-diag-20121113090931.txt.zip    

create bucket api returns immediately but that does not mean the bucket and db files are ready on all nodes.

sample loader only waits a few seconds until that happens.
it needs to wait for the bucket to be ready on all nodes either via checking with memcached or ns-server

Loading sample bucket beer-sample failed: {failed_to_load_samples_with_status,

if you have a cluster with 2 buckets and 3 nodes and then click on sample loader you will see this behavior

Comment by Farshid Ghods (Inactive) [ 13/Nov/12 ]
in QE tests this code verifies that bucket is ready to accept mutations before proceeding


im sure ns-server has a much better way of detecting that.
Comment by Steve Yen [ 26/Nov/12 ]
to 2.0.2 per bug-scrub
Comment by Maria McDuff (Inactive) [ 01/Apr/13 ]
per bug scrub: PM requesting 1 last time for QE to repro. If not reproducible, close this bug. Thanks.
Comment by Abhinav Dangeti [ 01/Apr/13 ]
Not reproducible on 2.0.2-749-rel, tested on Centos: 3 node cluster, with 3 pre-existing buckets.
Created both gamesim-sample and beer-sample alright.
Comment by Maria McDuff (Inactive) [ 09/Apr/13 ]
not reproducible.
Generated at Thu Sep 18 23:03:40 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.