-
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
meta/autoid : fix the issue that MaxUint64 and MaxInt64 autoID is incorrectly allocated #12119
Conversation
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.
Please add some test cases
126fd5c
to
7c2fc21
Compare
Codecov Report
@@ Coverage Diff @@
## master #12119 +/- ##
===========================================
Coverage 81.2957% 81.2957%
===========================================
Files 453 453
Lines 97208 97208
===========================================
Hits 79026 79026
Misses 12513 12513
Partials 5669 5669 |
82e2c73
to
4af1f42
Compare
Done. |
/run-all-tests |
29dd5b3
to
268db18
Compare
bf1910a
to
eb9ac98
Compare
Attention: this PR need mysql-test #889 merged first |
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
90c3cf4
to
76c9eb6
Compare
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
/run-unit-test |
/run-all-tests |
/run-all-tests |
@AilinKid merge failed. |
/run-common-test tidb-test=pr/889 |
/run-integration-common-test tidb-test=pr/889 |
/run-all-tests tidb-test=pr/889 |
/run-all-tests tidb-test=pr/889 |
1 similar comment
/run-all-tests tidb-test=pr/889 |
/rebuild |
cherry pick to release-2.1 failed |
cherry pick to release-3.0 in PR #12162 |
…orrectly allocated (pingcap#12119)
What problem does this PR solve?
mysql 5.7 & mysql 8.0
tidb master
What is changed and how it works?
Check the allocated value whether is the MaxUint64 or MaxInt64 before alloc.
Check List
Tests
Related changes
Release note