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
For Gerrit Dashboard: MB-43850 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
144485,5 | MB-43850 Populate CAS on successful INSERT/UPDATE/UPSERT/MERGE operation | master | query | Status: MERGED | +2 | +1 |
144511,2 | MB-43850 Update to allow return of CAS value for Set and Add calls | master | go-couchbase | Status: MERGED | +2 | +1 |