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

        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.
        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
        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.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        not reproducible.

        Show
        maria Maria McDuff (Inactive) added a comment - not reproducible.

          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