Skip to content

Limit Config is out of date for version 4 #208

@fschoell

Description

@fschoell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions