-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
mvcc: add a fast return at put method #13601
Conversation
return when two leaseID is equal, avoid invalid operations. Fixes #13600
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.
SGTM. Thank you.
Please add a test-case for the new code-path.
a test-case for new code-path.
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.
Thank you for the change and test.
hi, what's wrong with checks, need to change anything? @ptabor |
@serathius thanks, but there is a test (linux-amd64-integration-2-cpu) check fail, in fact, I don know how to fix it. |
|
@serathius needs an approval thanks. |
@serathius it passed this time, maybe there is some problem whit CI. |
return when two leaseID is equal, avoid invalid operations.
Fixes #13600