Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7170

sample loader fails if there are multiple nodes in the cluster and bucket creation time takes more than few seconds

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0, 3.0
    • Component/s: tools
    • Security Level: Public

      Description

      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, 1}

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

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        farshid Farshid Ghods (Inactive) created issue -
        steve Steve Yen made changes -
        Field Original Value New Value
        Assignee Bin Cui [ bcui ]
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        in QE tests this code verifies that bucket is ready to accept mutations before proceeding

        https://github.com/couchbase/testrunner/blob/master/lib/membase/helper/bucket_helper.py#L208

        im sure ns-server has a much better way of detecting that.

        Show
        farshid Farshid Ghods (Inactive) added a comment - in QE tests this code verifies that bucket is ready to accept mutations before proceeding https://github.com/couchbase/testrunner/blob/master/lib/membase/helper/bucket_helper.py#L208 im sure ns-server has a much better way of detecting that.
        farshid Farshid Ghods (Inactive) made changes -
        Attachment ns-diag-20121113090931.txt.zip [ 15794 ]
        steve Steve Yen made changes -
        Labels 2.0-release-notes
        Fix Version/s 2.0.1 [ 10399 ]
        Fix Version/s 2.0 [ 10114 ]
        Hide
        steve Steve Yen added a comment -

        to 2.0.2 per bug-scrub

        Show
        steve Steve Yen added a comment - to 2.0.2 per bug-scrub
        steve Steve Yen made changes -
        Fix Version/s 2.0.2 [ 10418 ]
        Fix Version/s 2.0.1 [ 10399 ]
        jin Jin Lim made changes -
        Fix Version/s 2.1 [ 10414 ]
        jin Jin Lim made changes -
        Planned Start (set to new fixed version's start date)
        Planned End (set to new fixed version's start date)
        maria Maria McDuff (Inactive) made changes -
        Assignee Bin Cui [ bcui ] Abhinav Dangeti [ abhinav ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        per bug scrub: PM requesting 1 last time for QE to repro. If not reproducible, close this bug. Thanks.

        Show
        maria Maria McDuff (Inactive) added a comment - per bug scrub: PM requesting 1 last time for QE to repro. If not reproducible, close this bug. Thanks.
        Hide
        abhinav Abhinav Dangeti added a comment -

        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.

        Show
        abhinav Abhinav Dangeti added a comment - 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.
        abhinav Abhinav Dangeti made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        not reproducible.

        Show
        maria Maria McDuff (Inactive) added a comment - not reproducible.
        maria Maria McDuff (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abhinav Abhinav Dangeti
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes