MB-21190: cbepctl support to change max_cas 17/68517/8
authorJim Walker <jim@couchbase.com>
Fri, 7 Oct 2016 10:37:48 +0000 (12:37 +0200)
committerDave Rigby <daver@couchbase.com>
Wed, 12 Oct 2016 07:43:15 +0000 (07:43 +0000)
commit210cd048ea6dbda25575d26b0062b64ec9cc8c49
tree6e2ffd6b792551c4b5880fe82732b1e2d207204f
parentba0458f509b9b064f1e0fbed1993c794f125ae45
MB-21190: cbepctl support to change max_cas

If the max_cas of a vbucket is forced forward by a
peer with a 'bad' clock, there are limited recovery
options. Allowing the max_cas to be "reset" could
be useful to recover from such a problem.

Change-Id: I9235520283ee1cd0d5b49820190a9eed3daac3c2
Reviewed-on: http://review.couchbase.org/68517
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
management/cbepctl
management/mc_bin_client.py
src/ep.cc
src/ep.h
src/ep_engine.cc
src/hlc.h
src/vbucket.h
tests/ep_test_apis.cc
tests/ep_test_apis.h
tests/ep_testsuite_basic.cc