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

membase rebalance cli with --server-add does not appear to actually perform rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • None
    • 1.6.0 beta4
    • tools
    • None
    • Operating System: CentOS 5.x
      Platform: X64

    Description

      So installed build 46 on a couple of EC2 instances. And then attempted to use the cli to create a cluster by using the rebalance command to add one node to another and the perform the rebalance.

      When I executed the rebalance command I got the following
      [root@domU-12-31-36-00-45-D2 ~]# /opt/NorthScale/1.6.0a/bin/cli/membase rebalance -c $S2:8080 --server-add=$S3:8080
      SUCCESS: server added..
      SUCCESS: rebalance started..

      But when I look at the vbucket list, all 16 buckets where still in on the original node and did not appear to be transitioning , which made me think that the rebalance was not happening

      [root@domU-12-31-36-00-45-D2 ~]# /opt/NorthScale/bin/ep_engine/management/vbucketctl.py $S2:11210 list
      vbucket 0 active
      vbucket 1 active
      vbucket 10 active
      vbucket 11 active
      vbucket 12 active
      vbucket 13 active
      vbucket 14 active
      vbucket 15 active
      vbucket 2 active
      vbucket 3 active
      vbucket 4 active
      vbucket 5 active
      vbucket 6 active
      vbucket 7 active
      vbucket 8 active
      vbucket 9 active

      When I look at the WebConsole, it should that a rebalance was pending, but no progress appear to be happening.

      http://skitch.com/eric.d.lambert/dehha/skitch

      When I pressed the rebalance button in the UI, the rebalance appeared to start (the progress meters were displayed) and then very quickly after, the rebalance completed. After executing the rebalance in the UI vbucketctl does show that buckets were moved

      [root@domU-12-31-36-00-45-D2 ~]# /opt/NorthScale/bin/ep_engine/management/vbucketctl.py $S2:11210 list
      vbucket 0 replica
      vbucket 1 replica
      vbucket 10 active
      vbucket 11 active
      vbucket 12 active
      vbucket 13 active
      vbucket 14 active
      vbucket 15 active
      vbucket 2 replica
      vbucket 3 replica
      vbucket 4 replica
      vbucket 5 replica
      vbucket 6 replica
      vbucket 7 replica
      vbucket 8 active
      vbucket 9 active
      [root@domU-12-31-36-00-45-D2 ~]# /opt/NorthScale/bin/ep_engine/management/vbucketctl.py $S3:11210 list
      vbucket 0 active
      vbucket 1 active
      vbucket 10 replica
      vbucket 11 replica
      vbucket 12 replica
      vbucket 13 replica
      vbucket 14 replica
      vbucket 15 replica
      vbucket 2 active
      vbucket 3 active
      vbucket 4 active
      vbucket 5 active
      vbucket 6 active
      vbucket 7 active
      vbucket 8 replica
      vbucket 9 replica

      Attachments

        Issue Links

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

          Activity

            People

              patg@patg.net Patrick Galbraith
              eric@northscale.com Eric Lambert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty