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

Backfill only till the nearest point (till snapshot end) after the requested end seqno

    XMLWordPrintable

Details

    Description

      Currently when a disk backfill is scheduled, we backfill all (most) items on disk irrespective of end seqno requested.
      Though functionally not incorrect, it is an overkill (and hence not best performance wise) to backfill all items.

      It would be more efficient only to backfill till the snapshot_end close to endSeqno

      Example:
      Client requests from seqno 1 to seqno 500 from disk.
      Say the disk has 2 snapshots one from 1 to 600 and another from 601 to 700. Currently, as I understand we send backfill snapshot from 1 to 700.
      It would be more efficient to send the backfill snapshot from 1 to 600.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            manu Manu Dhundi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty