Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-774

Allow SUBDOC_MULTI_MUTATION to set XATTRs and whole document in single call

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.5
    • Component/s: library
    • Labels:

      Description

      As part of MB-23522, KV exposes below api

      SUBDOC_MULTI_MUTATION(key="my_doc",
          specs=[{opcode=CMD_SUBDOC_DICT_UPSERT, flags=NONE, path="", value="{\"field\":42}"},
                 {opcode=CMD_SUBDOC_DICT_UPSERT, flags=XATTR_PATH, path="my_xattr", value="{\"seq\": 123}"}])
      

      Eventing project would like to use it for handling recursive mutations(Apologies, we haven't been communicating much about what eventing is about with others, hope to do it soon. Matt I would be familiar with what eventing is trying to do)

      Would be useful even if we get an early experimental api support from lcb.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.0.0-3055 contains tlm commit ae20b19cb6ebc3e7a659eed96c2599dcfa9cd323 with commit message:
          CCBC-774 Bump libcouchbase version to 2.7.5
          https://github.com/couchbase/tlm/commit/ae20b19cb6ebc3e7a659eed96c2599dcfa9cd323

          Show
          build-team Couchbase Build Team added a comment - Build 5.0.0-3055 contains tlm commit ae20b19cb6ebc3e7a659eed96c2599dcfa9cd323 with commit message: CCBC-774 Bump libcouchbase version to 2.7.5 https://github.com/couchbase/tlm/commit/ae20b19cb6ebc3e7a659eed96c2599dcfa9cd323

            People

            • Assignee:
              mnunberg Mark Nunberg (Inactive)
              Reporter:
              asingh Abhishek Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.