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

janitor may lose entire vbucket if rebalance is stopped shortly after it's moved but before vb map is updated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 2.0, 2.0.1, 2.1.0, 2.2.0, 2.5.0, 3.0
    • ns_server
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      SUBJ. We found this as part of MB-11890.

      It should be somewhat rare case but MB-11890 indicates that it's not that rare it seems. There is bug in ns_janitor that will incorrectly handle a case where old master is missing and fast-forward map chain matches vbucket states. In this case it's supposed to update vbmap to match fast-forward chain, but it fails to do it and instead keeps old chain. Which causes real vbucket on fast-forward master to be dropped and empty vbucket to be recreated on old master.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            alkondratenko Aleksey Kondratenko (Inactive)
            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