-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
statistics: fix a bug which causes panic when using the clustered index and the new collation (#21379) #21408
statistics: fix a bug which causes panic when using the clustered index and the new collation (#21379) #21408
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@wjhuang2016 you're already a collaborator in bot's repo. |
Merge this PR after backporting pinyin collation to release 4.0. |
/run-all-tests |
/run-all-tests |
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
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
@ti-srebot: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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. |
cherry-pick #21379 to release-4.0
What problem does this PR solve?
Issue Number: close #20876
Problem Summary:
The statistics data is "sort key" and shouldn't take as collate strings. If so, reencode the non-UTF-8 sort key may cause panic.
What is changed and how it works?
Don't set collate for the sort key.
Related changes
Check List
Tests
Side effects
Release note