Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49342 PiTR: handle manifest changes from DCP
  3. MB-49981

[CBM] Split the collection manifest out to the vBucket level

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Major
    • 7.1.0
    • 7.1.0
    • tools
    • None
    • 1
    • Tools 2021 Nov

    Description

      What's the issue?
      The collection manifest needs to be "split" out to the vBucket level, where we can then use DCP stream events to capture/track the "range" or "lifetime" of scopes/collections.

      What's the fix?
      We should use the "base" manifest (fetched via 'ns_server') as a starting point for each vBucket.

      During DCP streaming, we'll use scope/collection create/delete events to add "range" or "lifetime" information to a scope/collection in the manifest.

      We will also need to track/create tombstones for scopes/collections that have been dropped; we must be able to fetch the name (otherwise the scope/collection is unusable).

      Attachments

        For Gerrit Dashboard: MB-49981
        # Subject Branch Project Status CR V

        Activity

          People

            james.lee James Lee
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty