-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
txn: check data constraint after lock #8931
txn: check data constraint after lock #8931
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.
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
/merge |
/merge |
/run-all-tests |
@youjiali1995 merge failed. |
/run-all-tests |
/merge |
/run-all-tests |
/merge |
/run-all-tests |
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
234e598
to
c08c7ca
Compare
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@youjiali1995 merge failed. |
/merge |
/run-all-tests |
/merge |
/run-all-tests |
/merge |
/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
Signed-off-by: youjiali1995 zlwgx1023@gmail.com
What problem does this PR solve?
Problem Summary:
Should check data constraint when no lock exists, otherwise it can report an error when there is a lock belonging to a committed transaction which deletes the key.
What is changed and how it works?
Cherry pick #8921 to release-3.0
Proposal: xxx
What's Changed:
Change the order between checking data constraint and lock.
Related changes
Check List
Tests
Release note