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

Collections: backfill from collection start-seqno

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • master
    • couchbase-bucket
    • None
    • 1

    Description

      This has been a long standing idea and its mileage may vary. The idea is that if a client does not use OSO backfill (which is still optional at this time) and they do a collection DCP stream (start=0) KV should adjust the start-seqno to be the start of the requested collection (the start-seqno is part of the collection's meta-data).

      This can result in a reduction in I/O as we will not be reading parts of the index which are not for the requested collection.

      If the DCP request is for a scope or set of collections, we adjust the start to the lowest seqno of the scope/set.

      Note: If we make OSO mandatory for collection streams, this technique becomes less important.

      Attachments

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

        Activity

          People

            jwalker Jim Walker
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty