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

Deleting body via subdoc operation

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1
    • library
    • None

    Description

      Sync Gateway needs the ability to delete the body of an existing document as part of a subdoc operation that also updates an xattr (using the DeleteDoc subdoc op).  This was supported in V1 when an empty path was specified for RemoveEx.  

      memd.SubDocOpDeleteDoc exists in the gocbcore and is handled by MutateIn there, but I don't believe there's a way to set it on the gocb side.

       

       

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.0.0-4715 contains gocb commit e7fccc9 with commit message:
            GOCBC-1054: Allow blank paths to be used with subdoc remove

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocb commit e7fccc9 with commit message: GOCBC-1054 : Allow blank paths to be used with subdoc remove

            Build sync_gateway-3.0.0-225 contains gocb commit e7fccc9 with commit message:
            GOCBC-1054: Allow blank paths to be used with subdoc remove

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocb commit e7fccc9 with commit message: GOCBC-1054 : Allow blank paths to be used with subdoc remove

            Build couchbase-server-7.1.0-1767 contains gocb commit e7fccc9 with commit message:
            GOCBC-1054: Allow blank paths to be used with subdoc remove

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1767 contains gocb commit e7fccc9 with commit message: GOCBC-1054 : Allow blank paths to be used with subdoc remove

            People

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