Skip to content
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

fix: lock_if_exist + aggressive locking #705

Merged

Conversation

ekexium
Copy link
Contributor

@ekexium ekexium commented Feb 16, 2023

Locking commands skipped by lock_only_if_exists were mistakenly calculated as successfully locked for aggressive locking.

…alculated as successfully locked for aggressive locking

Signed-off-by: ekexium <ekexium@gmail.com>
@ekexium ekexium force-pushed the fix-aggresssive-locking-with-lock-if-exist branch from c6ad906 to b520845 Compare February 16, 2023 16:27
@ekexium ekexium marked this pull request as ready for review February 17, 2023 03:53
@ekexium
Copy link
Contributor Author

ekexium commented Feb 17, 2023

@cfzjywxk @sticnarf PTAL
cc @MyonKeminta

txnkv/transaction/txn.go Outdated Show resolved Hide resolved
txnkv/transaction/txn.go Outdated Show resolved Hide resolved
@ekexium ekexium force-pushed the fix-aggresssive-locking-with-lock-if-exist branch from e3bcfae to 3ac677a Compare February 17, 2023 14:46
@cfzjywxk
Copy link
Contributor

/merge

Signed-off-by: ekexium <ekexium@gmail.com>
@ekexium ekexium force-pushed the fix-aggresssive-locking-with-lock-if-exist branch from 3ac677a to 0b14b98 Compare February 18, 2023 03:07
@cfzjywxk cfzjywxk merged commit 2051f57 into tikv:master Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants