Details
-
Improvement
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
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
For Gerrit Dashboard: MB-42494 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
139626,2 | MB-38653, MB-42494, MB-42495. Add cas missmatch error Also scas for INSERT/UPSERT statements. | master | query | Status: MERGED | +2 | +1 |