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

Collections: DCP system events should transmit name and uid of the affected collection

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • None
    • None
    • couchbase-bucket
    • None

    Description

      A short coming has been identified with the current DCP system event specification, it doesn't include the name of the collection (or the scope.name)

      The issue is that some clients, such as backup may need to recover the collection config, e.g a restore of a backup to an empty bucket will need to create collections before the documents can be written.

      If the backup service can only get collection-UIDs from DCP system events and DCP mutations, then windows of inconsistency can occur if the backup service is required to find out collection names by looking at say ns_server's view of collections. Maybe ns_server has dropped the collection, yet the backup needs the name.

      It is a much simpler system if the DCP events can include the scope and collection names, we should really aim to have the ability for DCP system events to transmit enough data that a DCP client could rebuild the entire JSON manifest.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty