Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-6827

New rebalance setting

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • 6.6.0
    • None
    • None
    • None
    • DOC-2020-S11-Jun14
    • 1

    Description

      New rebalance setting, "Max vbucket moves per node during rebalance", takes integer values between 1-64. 

      This setting may help make rebalance faster/slower by increasing/decreasing the number of vbucket moves that can happen involving a node. Increasing vbucket moves may(highly likely) come at a cost of increasing the resource(cpu/memory/disk etc) pressure on a node.

      Note: increasing the  "Max vbucket moves per node during rebalance" doesn't guarantee faster rebalance , it is still dependent on other factors, such as nodes involved in the vbucket moves, type of rebalance, presence of views etc.

       

      Also, the setting should also come with a warning that,

      "Changing this setting can leads to degradation of front-end ops, due to changes caused in resource utilization on the node(s)."

       

      Can get/set this setting as,

      $ curl -X GET -u Administrator:asdasd http://localhost:9000/settings/rebalance {"rebalanceMovesPerNode":4} 
       
      $ curl -X POST -u Administrator:asdasd -d 'rebalanceMovesPerNode=64' http://localhost:9000/settings/rebalance 
      {"rebalanceMovesPerNode":64} 
       
      $ curl -X GET -u Administrator:asdasd http://localhost:9000/settings/rebalance {"rebalanceMovesPerNode":64} 
       
      $ curl -X POST -u Administrator:asdasd -d 'rebalanceMovesPerNode=65' http://localhost:9000/settings/rebalance 
      {"errors":{"rebalanceMovesPerNode":"The value must be in range from 1 to 64"}} 

      Similar, can be done through the UI.

      Attachments

        Issue Links

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

          Activity

            People

              tony.hillman Tony Hillman (Inactive)
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty