Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-518

gocbcore 'SetMetaEx' should optionally accept a collection id

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.0.0-alpha.5
    • 2.0.0-alpha1
    • library
    • None

    Description

      In the backup/restore tooling we are using a 'StreamObserver' to handle events from a DCP stream, the 'Mutation/Deletion/Expiration' callbacks all provide the 'collectionId'; this is in contrast to the 'SetMetaOptions' which accepts a 'CollectionName'. In backup/restore we would like to avoid doing lookup translations for each and every mutation/deletion/expiration that we receive/send.

      Solution:
      SetMetaOptions accepts both a collection name/id and prioritises one over the other or uses both when applicable.

      Attachments

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              james.lee James Lee
              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