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

Prevent map corruption due to num_replicas change after interrupted rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.0.2
    • 5.5.3
    • ns_server
    • None
    • Untriaged
    • No

    Description

      Conditions under which the problem happens:
      1) Rebalance interrupted
      2) num_replicas decreased
      3) Some vbuckets are in a "dead" state on some nodes

      In this case ns_server:do_sanify_chain might pick FutureChain for vbucket which length is longer than the length of the original Chain which leads to vbucket map with variable chain lengths (corrupted)

      Attachments

        For Gerrit Dashboard: MB-33321
        # Subject Branch Project Status CR V

        Activity

          People

            Balakumaran.Gopal Balakumaran Gopal
            artem Artem Stemkovski
            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