-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add gzip compression for check_leader requests (#14721) #14825
add gzip compression for check_leader requests (#14721) #14825
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/cherry-pick-invite |
@you06 Please accept the invitation then you can push to the cherry-pick pull requests. |
Signed-off-by: you06 <you1474600@gmail.com>
Signed-off-by: you06 <you1474600@gmail.com>
33a46a4
to
ddd8713
Compare
/merge |
@you06: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: ddd8713
|
This is an automated cherry-pick of #14721
What is changed and how it works?
Issue Number: Ref #14553
What's Changed:
The size of check_leader requests is related to the number of leaders. Generally, each region will takes 7 bytes in request and 1 byte in response, when the number of leader is high, the compression saves about 60% traffic in my test.
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Before
After
Side effects
Release note