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

The first open checkpoint for a new active vbucket should start with id 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0-beta
    • 2.0-beta
    • couchbase-bucket
    • Security Level: Public
    • None

    Description

      There is a boundary case that caused data loss if the first checkpoint for a new active vbucket starts with id 1.

      For example,
      1. Node A started and has the active vb 0 with the open checkpoint 1
      2 Load some items into the open checkpoint 1
      3. Restart A and then A will have the open checkpoint 1 after warmup, which is empty.
      4. Node B is newly joined and has the replica vb0 with the open checkpoint 1
      5. Replication from A to B for vb0 doesn't schedule backfill because we thought that both node A and B have the synchronized open checkpoint for vb0.

      Attachments

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

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            chiyoung Chiyoung Seo (Inactive)
            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