-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
http: fix scatter table #11281
http: fix scatter table #11281
Conversation
Signed-off-by: Ryan Leung <[email protected]>
Could tidb use pd client api for this http request? |
@jackysp For now, we only support it by using HTTP API. But the answer may be yes later. |
Codecov Report
@@ Coverage Diff @@
## master #11281 +/- ##
===========================================
Coverage 81.2744% 81.2744%
===========================================
Files 423 423
Lines 90155 90155
===========================================
Hits 73273 73273
Misses 11577 11577
Partials 5305 5305 |
Should we cherry-pick this commit to release-2.1 and release-3.0? |
@XuHuaiyu Yes, we should. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
TiDB only needs one approval to merge to master, please don't approve it too early. @nolouch |
What problem does this PR solve?
Currently, the scatter table API cannot work well because the key in the HTTP request for the scatter table is not escaped. This PR is also related to tikv/pd#1642.
What is changed and how it works?
This PR fixes it by escaping the key.
Check List
Tests
Related changes