Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Config is out of date for version 4 #208

Open
fschoell opened this issue Nov 3, 2020 · 0 comments
Open

Limit Config is out of date for version 4 #208

fschoell opened this issue Nov 3, 2020 · 0 comments

Comments

@fschoell
Copy link

fschoell commented Nov 3, 2020

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-rate takes over.

stores set limit 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant