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

Optimize backfill range in DCPBackfillBySeqnoDisk::markLegacyDiskSnapshot()

    XMLWordPrintable

Details

    • 1
    • KV-Engine-Sept-21

    Description

      Add optimization to start the scan at the persisted completed seqno (seqno of the highest prepare that has been completed) as a completion should have higher seqno. If persistedCompletedSeqno == 0 and we've got this far then I suppose the only item in the default collection is a prepare and we could skip the scan.

      First spotted during review here.

      Attachments

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

        Activity

          People

            richard.demellow Richard deMellow
            richard.demellow Richard deMellow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty