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

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.5
    • library

    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

          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

          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

            mnunberg Mark Nunberg (Inactive)
            asingh Abhishek Singh (Inactive)
            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