MB-21154: set_param support for drift thresholds 25/68325/11
authorJim Walker <jim@couchbase.com>
Tue, 4 Oct 2016 14:56:20 +0000 (15:56 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 12 Oct 2016 07:43:07 +0000 (07:43 +0000)
commitba0458f509b9b064f1e0fbed1993c794f125ae45
tree569f99d45a12dab57ea766ec7231504be1972bf5
parent3ba9f54be46e6d439608dce69b873dc5f56bf049
MB-21154: set_param support for drift thresholds

Enable the set_param command to change the ahead and behind drift
thresholds, enabling changes without a bucket restart.

cbepctl is updated so that it can send drift threshold changes,
but they're not publicised.

> cbepctl ... set vbucket_param hlc_drift_ahead_threshold_us 1

Change-Id: I4973d0c36bfa03ff33e50924b7c10434675d90da
Reviewed-on: http://review.couchbase.org/68325
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
management/cbepctl
management/memcacheConstants.py
src/ep_engine.cc
src/hlc.h
src/vbucket.h
src/vbucketmap.cc
src/vbucketmap.h
tests/ep_testsuite_xdcr.cc