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

KV should warmup dead and pending vbuckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.3, 6.5.0
    • 6.0.2
    • couchbase-bucket
    • None
    • Untriaged
    • Yes
    • KV-Engine MH 2nd Beta

    Description

      History of this MB can be tracked back through

      This MB tracks KV reverting a patch which skips the warmup of dead vbuckets.

      If we apply the following state transitions and don't warmup

      • active -> dead -> replica

      The data in the active VB is still in the replica, dead doesn't imply delete.

      If we apply the following state transitions and do warmup

      • active -> dead -> warmup -> replica

      The replica vbucket is empty because KV warmup ignores the data, ns_server tells KV to create a replica vbucket and we do, but empty and requiring a full rebuild. This is not ideal, certainly if the rebuild is slow/failing or a active node failure occurs.

      This was first introduced in 5.0 patch See comment below - goes back to 3.0.

      Initial plan is to revert in MH.

      Attachments

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

        Activity

          People

            jwalker Jim Walker
            jwalker Jim Walker
            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