Description
Enable rest apis for tunable parameters for XDCR. Given the importance of XDCR and these tunables, we need REST endpoints. Suggestion is to add to /internalsettings
[
{xdcr_max_concurrent_reps, 32}, % num of concurrent reps per bucket - Validate the user input to range min: 8 - max: 256 default: 32
, % in secs - - Validate the user input to range min: 60 - max: 14400 default: 1800
, % num of mutations - Validate the user input to range min: 500 - max: 10000 - default 500
, % in kilobytes - Validate the user input to range min: 10 - max: 100000 - default 2048
, % in secs - Validate the user input to range min: 1 - 300 default: 30
Current workaround is using diag/eval as
curl -X POST http://Administrator:asdasd@127.0.0.1:9000/diag/eval -d 'rpc:call(node(), ns_config, set, [xdcr_checkpoint_interval, 2000]).'
Attachments
For Gerrit Dashboard: MB-7219 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22659,4 | MB-7219: remove retired xdcr ns_config parameters | master | ns_server | Status: MERGED | +2 | +1 |
22684,2 | MB-7219: Expose XDCR tuning parameters as interal settings | master | ns_server | Status: MERGED | +2 | +1 |