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

Populate Cas value from successful response of UPDATE/INSERT/UPSERT/MERGE

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.0.0
    • 6.6.1, 6.5.0, Cheshire-Cat
    • query
    • None
    • 1

    Description

      On successful mutation of above statements will not populate the values of the new cas. This cause RETURNING clause return pre mutated cas vs post mutated cas

      It looks to me memcached response include new cas.

      We should populate that value back into return value using SetMetaCas(kv.Value,retCas)  (need to populate in go-cocuhbase, then to datastore/couchbase) in datastore/couchbase/couchbase.go:performOp()

      Attachments

        Issue Links

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

          Activity

            People

              Donald.haggart Donald Haggart
              Sitaram.Vemulapalli Sitaram Vemulapalli
              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