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

Add support for SUBDOC_MULTI_PATH_FAILURE_DELETED

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 1.2.3
    • None
    • None
    • None

    Description

      Server has added a new error code, SUBDOC_MULTI_PATH_FAILURE_DELETED, that's returned when a multi-lookup operation partially succeeded/failed, and the document was deleted.

      https://github.com/couchbase/memcached/blob/f2d8f212b51983861a70df06d16af2d45ce87c13/include/memcached/protocol_binary.h#L247

      https://github.com/couchbase/memcached/commit/c61faf1c83c9dbc426d29b39a8abc3779c599cc3

      To leverage the functionality associated with this new code, Sync Gateway needs some SDK enhancements:

      • Add an error code to gocbcore.error.go so that we can recognize the error 
      • Don't terminate subdoc response processing on this error (similar to SUBDOC_MULTI_PATH_FAILURE)

       

       

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            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