MB-23267: Prevent changing inapplicable options from cbepctl 99/76399/12
authorJames Harrison <00jamesh@gmail.com>
Thu, 6 Apr 2017 13:30:22 +0000 (14:30 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 12 Apr 2017 15:03:13 +0000 (15:03 +0000)
commit3e3006ce0af833a7e9ba2c38f13e7cdc5b454549
treec1b7f789fc7cb39caac69bf08b1bb9bd80915ac4
parentb37a42f53defecf637e130e583bd34117417a57c
MB-23267: Prevent changing inapplicable options from cbepctl

Check requirements in setFlushParam and setTapParam for the following
configuration parameters:

 "tap_keepalive"
 "access_scanner_enabled"
 "alog_sleep_time"
 "alog_task_time"
 "ephemeral_full_policy"

this will prevent them being set if their requirements are not met.

Change-Id: Ie70d062e5333393e12771d325d22438f5e865bdf
Reviewed-on: http://review.couchbase.org/76399
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
src/ep_engine.cc
tests/module_tests/evp_engine_test.cc
tests/module_tests/evp_engine_test.h