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

executor: support 'SET CONFIG' syntax to change configs of TiKV/PD instances #16480

Merged
merged 27 commits into from
Apr 23, 2020

Conversation

qw4990
Copy link
Contributor

@qw4990 qw4990 commented Apr 16, 2020

What problem does this PR solve?

Issue Number: close #16479

Problem Summary: support SET CONFIG syntax to change configs of TiKV/PD instances

What is changed and how it works?

When processing SET CONFIG, the SetConfigExec sends commands to TiKV and PD to let them update their configs according to their HTTP API.

If it is failed to update some instances' configs, you can use SHOW WARNINGS to get these errors.

Check List

Tests

  • Unit test

@qw4990 qw4990 requested review from a team as code owners April 16, 2020 11:22
@ghost ghost requested review from francis0407 and wshwsh12 and removed request for francis0407 and a team April 16, 2020 11:22
@qw4990 qw4990 removed the status/WIP label Apr 16, 2020
@qw4990 qw4990 requested a review from XuHuaiyu April 17, 2020 04:03
executor/set_config.go Outdated Show resolved Hide resolved
executor/set_config.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 22, 2020

Codecov Report

Merging #16480 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #16480   +/-   ##
===========================================
  Coverage   80.6207%   80.6207%           
===========================================
  Files           507        507           
  Lines        138256     138256           
===========================================
  Hits         111463     111463           
  Misses        18215      18215           
  Partials       8578       8578           

Copy link
Contributor

@wshwsh12 wshwsh12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qw4990
Copy link
Contributor Author

qw4990 commented Apr 23, 2020

/rebuild

Copy link
Contributor

@SunRunAway SunRunAway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SunRunAway SunRunAway added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. labels Apr 23, 2020
@qw4990
Copy link
Contributor Author

qw4990 commented Apr 23, 2020

/run-all-tests

1 similar comment
@sre-bot
Copy link
Contributor

sre-bot commented Apr 23, 2020

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/new-feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support 'SET CONFIG' syntax to change configs of TiKV/PD instances
4 participants