website
website copied to clipboard
Limit Config is out of date for version 4
store-balance-rate is deprecated and won't be accepted as parameter on pd-ctl:
$ pd-ctl -u http://172.22.3.197:2379 config set store-balance-rate 4
Failed to set config: [400] "store-balance-rate has already been deprecated"
stores set limit is also deprecated (will still be accepted though) and should be replaced with store limit all:
$ pd-ctl -u http://172.22.3.197:2379 stores set limit 4
Command "limit" is deprecated, use store limit all <rate> instead
Also there's no note on how to change this permanently after store-balance-rate won't be accepted anymore:
The following example modifies the rate limit for all stores to 20 and applies immediately. After restart, the configuration becomes invalid, and the rate limit for all stores specified by
store-balance-ratetakes over.
stores set limit 20