MB-23976: Return updated CAS from TOUCH command 61/76961/4
authorDave Rigby <daver@couchbase.com>
Tue, 18 Apr 2017 16:53:16 +0000 (17:53 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 19 Apr 2017 13:10:58 +0000 (13:10 +0000)
commit9e811ea889ba56f0730c81f2d2d722f9ea9900cd
tree0f93bfefc1924d0eba3fee0dd5d8e776f659fcfe
parentc90b04d8e424ab4cc4f8e22882929685bbe9e265
MB-23976: Return updated CAS from TOUCH command

The TOUCH command was incorrectly returning the CAS *before* the
document was updated, instead of the CAS value after the update.

Change-Id: I9f6b1dd08c67f09d3191c4d3061d63c96d894af7
Reviewed-on: http://review.couchbase.org/76961
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Build Bot <build@couchbase.com>
src/vbucket.cc
tests/ep_testsuite_basic.cc