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

[6.0.2] initiated a rebalance while index creation was occuring, move index behaves incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 6.0.2
    • 6.0.2
    • secondary-index
    • None
    • 6.0.2-2390
    • Untriaged
    • Unknown

    Description

      Repro:
      Load enough docs to make index build take a little bit of time (i loaded 1.5M items using cbworkload gen)
      Create idx
      While idx is building rebalance in an indexer node (rebalance fails but server is still rebalanced in)
      create idx2 on the OTHER index node that was added
      while idx2 is building attempt to move idx to the node idx2 was created on (should fail, try it a few times during the build)
      After idx2 is built attempt to move idx to the node idx2 is on again, should succeed. However it is never removed from the previous node it was on, so now we have two copies of idx in the cluster

      Basically I did a rebalance while an index was being created, it says the rebalance failed but the server was indeed rebalanced in. Then I tried to move an index while another index was building, this failed as expected. Once the second index was finished building I tried to execute the move index again, this time it worked and the index was moved, however it was not deleted off the first node. Logs and screenshot attached. Could be related to MB-34168

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            ajay.bhullar Ajay Bhullar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty