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

Deleting body via subdoc operation

    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 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

          For Gerrit Dashboard: GOCBC-1054
          # Subject Branch Project Status CR V

            Activity

            Hide
            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

            Show
            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
            Hide
            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

            Show
            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

              People

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