Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-42494

EXECUTE __insert needs to pass back scas

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • query
    • 1

    Description

      To support being able to safely do multiple KV operations on the same document with optimistic concurrency, I need to have query's virtual CAS.  This virtual CAS is returned on updates and removes, but not on inserts.

      E.g. I need to be able to do:

      BEGIN WORK
      EXECUTE __insert "txdata":{"kv":true}  // returns "scas"="42"
      EXECUTE __update "txdata":{"kv":true,"scas":"42"}

      Attachments

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

        Activity

          People

            praneeth.bokka Praneeth Bokka (Inactive)
            graham.pople Graham Pople
            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