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

Adding a node to the cluster while rebalancing cause the rebalance to abort

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
      None

      Description

      Add a node to the cluster, and start rebalance. While rebalance is running try to add a third node to the cluster. Adding the node cause the ongoing rebalance to fail with a red banner on the web ui saying:

      "Rebalance failed. See logs for detailed reason. You can try rebalance again."

      I was expecting the rebalance to complete with the two nodes I've started the rebalance operation. And then let me rebalance in the next one when it was done (or let me press stop rebalance in the UI to start the new rebalance with all of the 3 nodes).

      There is no "easy to understand" error message in the log that my mum would have understood (it is a: Rebalance exited with reason {detected_nodes_change,
      {ns_node_disco_events,
      ['ns_1@10.0.0.130','ns_1@10.0.0.159'],
      ['ns_1@10.0.0.130','ns_1@10.0.0.159',
      'ns_1@10.0.0.160']}}

      But if this is a normal case we could probably rewrite the message into something more intuitive for users (given that we pointed them to the log to see why it failed...)

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

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Duplicated

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Duplicated
        Hide
        maria Maria McDuff (Inactive) added a comment -

        iryna, pls verify / close.

        Show
        maria Maria McDuff (Inactive) added a comment - iryna, pls verify / close.
        Hide
        iryna iryna added a comment -

        build 2.0.2-779-rel verified

        Show
        iryna iryna added a comment - build 2.0.2-779-rel verified

          People

          • Assignee:
            iryna iryna
            Reporter:
            trond Trond Norbye
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes