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

Should receive an error message when attempting to perform the same successfully command again

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta1
    • None
    • RESTful-APIs
    • None
    • Operating System: All
      Platform: All

    Description

      I start with a two empty nodes.

      If I use the CLI to add a new node and rebalance, i see the following

      [root@domU-12-31-36-00-45-D2 py]# python /opt/NorthScale/bin/cli/membase rebalance --cluster=10.253.11.144:8080 --server-add=10.253.30.47:8080
      ERROR: Bad Request unable to add server.
      rebalance POST response: SUCCESS: rebalance started..

      If I execute the command again, it appears to work, but the vbucket state on the two nodes is all wrong. The orginating node show all buckets as active while the joining shows all as a dead

      [root@domU-12-31-36-00-45-D2 py]# python /opt/NorthScale/bin/cli/membase rebalance --cluster=10.253.11.144:8080 --server-add=10.253.30.47:8080
      SUCCESS: server added..
      rebalance POST response: SUCCESS: rebalance started..

      [root@domU-12-31-36-00-04-62 tmp]# /opt/NorthScale/1.6.0beta1rc4/bin/ep_engine/management/vbucketctl.py 10.253.11.144:11210 list
      vbucket 0 active
      vbucket 1 active
      vbucket 10 active
      vbucket 100 active
      vbucket 101 active
      ...

      ]# /opt/NorthScale/1.6.0beta1rc4/bin/ep_engine/management/vbucketctl.py 10.253.30.47:11210 listvbucket 0 dead
      vbucket 1 dead
      vbucket 10 dead
      vbucket 100 dead
      vbucket 101 dead
      vbucket 102 dead

      Attachments

        1. 144.log
          545 kB
        2. 47.log
          717 kB
        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:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty