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

Ability to set SubdocDocFlagCreateAsDeleted

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Component/s: library
    • Labels:
      None

      Description

      Sync Gateway needs the ability to set the SubdocDocFlagCreateAsDeleted flag as part of a subdoc operation, to create a tombstone w/ a system xattr associated with it.  

       

        Attachments

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

          Activity

          Hide
          charles.dixon Charles Dixon added a comment -
          Show
          charles.dixon Charles Dixon added a comment - Adam Fraser is this not what you're looking for? https://github.com/couchbase/gocb/blob/master/constants.go#L135
          Hide
          adamf Adam Fraser added a comment -

          That's what I'm looking for, but I don't see where I have the ability to explicitly set SubdocDocFlags when making a MutateIn call from the gocb side - if it's exposed somewhere in MutateInOptions or a MutateInSpec I didn't see, can you point me to it?

          Show
          adamf Adam Fraser added a comment - That's what I'm looking for, but I don't see where I have the ability to explicitly set SubdocDocFlags when making a MutateIn call from the gocb side - if it's exposed somewhere in MutateInOptions or a MutateInSpec I didn't see, can you point me to it?
          Hide
          charles.dixon Charles Dixon added a comment -

          Good point, I'll get it added to the Internal block of MutateInOptions

          Show
          charles.dixon Charles Dixon added a comment - Good point, I'll get it added to the Internal block of MutateInOptions
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-4715 contains gocb commit 6b401f5 with commit message:
          GOCBC-1055: Add doc flags as an internal mutate in option

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocb commit 6b401f5 with commit message: GOCBC-1055 : Add doc flags as an internal mutate in option
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-3.0.0-225 contains gocb commit 6b401f5 with commit message:
          GOCBC-1055: Add doc flags as an internal mutate in option

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocb commit 6b401f5 with commit message: GOCBC-1055 : Add doc flags as an internal mutate in option

            People

            Assignee:
            charles.dixon Charles Dixon
            Reporter:
            adamf Adam Fraser
            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