Details
-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.0, 4.1.2, 4.5.0, 4.6.0
-
Untriaged
-
Ubuntu 64-bit
-
Unknown
Description
TOUCH modifies a document and updates a CAS value also. But the result of TOUCH doesn't have an updated CAS value. There's only a stale CAS value. GET with TTL also has same problem.
$ cbc create foo -V bar -u default -P123456
foo Stored. CAS=0x14b68627ff9f0000
$ cbc touch foo -e 100 -u default -P123456
foo Touched. CAS=0x14b68627ff9f0000
$ cbc cat foo -u default -P123456
foo CAS=0x14b6862b07650000, Flags=0x0. Size=3
The second GET has the correct CAS which has been updated by the TOUCH. But TOUCH has the previous CAS.