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

Support set config ... and show config ... syntaxes #768

Closed
qw4990 opened this issue Mar 12, 2020 · 1 comment
Closed

Support set config ... and show config ... syntaxes #768

qw4990 opened this issue Mar 12, 2020 · 1 comment
Assignees

Comments

@qw4990
Copy link
Contributor

qw4990 commented Mar 12, 2020

Feature Request

Is your feature request related to a problem? Please describe:

No.

Describe the feature you'd like:

After implementing this proposal(pingcap/tidb#13660), TiDB, TiKV, and PD all support to change configs dynamically online.
Now we can update configs dynamically according to pd-ctl, which is not convenient to our user, so we need to support updating configs by SQL.
After discussing, we decide to support these syntaxes:

  1. set config {component or instance} key=val
  2. show config where ...

For example:

  1. set config TiDB Log.Level="info"
  2. set config '127.0.0.1:3306' Log.Level="info"
  3. show config where type="TiDB"
@qw4990
Copy link
Contributor Author

qw4990 commented Apr 9, 2020

Close due to finish.

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

No branches or pull requests

1 participant