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

XDCR - optimize so that backfill raise is not necessary for new VBs

    XMLWordPrintable

Details

    • Task
    • Resolution: Not a Bug
    • Major
    • 7.1.0
    • 7.1.0
    • XDCR
    • None
    • 1

    Description

      When a new VB comes in, backfillRequestHandler will diff the VBs and raise backfill request for the brand new VBs. This should guarantee that there won't be missing data, but this isn't ideal because it will generate traffic.

      However, when a node takes over a VB, XDCR needs to ensure that there's no pending backfills. Only if it is sure 100% that there's no pending backfill, can it skip raising a complete backfill request.

      This is tricky because the previous VB owner node could be down (i.e. previous VB master) and no way to check. Also, periodicPush from the previous master node may not have happened (i.e. push a mid-way backfill task)

      Need to think more about this.

      Attachments

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

        Activity

          People

            neil.huang Neil Huang
            neil.huang Neil Huang
            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