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

Improve index rebalance behavior when index build is in progress

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Neo.next
    • 6.5.0
    • secondary-index
    • None

    Description

      The behavior was improved in MH from "unconditional fail" to "check if an index build is required as part of rebalance on the node where another index build is already in progress".

      The behavior is still less than desirable as a rebalance failure is disruptive for other services as ns-server aborts the rebalance operation completely. 

      Few possible improvement options:

      1. Abort the running index build to allow rebalance to proceed. Let the builder rebuild the aborted build after rebalance is done.
      2. Rebalancer can examine the planner output and determine if any essential index movement is required. If not, index rebalance could be marked success without doing anything.
        1. Essential index movement - Index(es) on a node moving out of the cluster. 
        2. Non-essential index movement - Moving around partitions of a partitioned index for balanced resource utilization.
        3. Replica repair needs more thought.

       

       

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty