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

(6.5) lock_resolver: handle pessimistic locks in BatchResolveLocks (#794) #822

Merged
merged 1 commit into from
May 29, 2023

Conversation

MyonKeminta
Copy link
Contributor

Cherry-picks #794 to tidb-6.5 branch.
Ref: pingcap/tidb#43243

* lock_resolver: handle pessimistic locks in BatchResolveLocks

Signed-off-by: MyonKeminta <[email protected]>

* Add test but failed on unistore because unistore's ScanLock doesnt return lock type

Signed-off-by: MyonKeminta <[email protected]>

* Address comments

Signed-off-by: MyonKeminta <[email protected]>

* Fix test

Signed-off-by: zyguan <[email protected]>

* Fix golangci

Signed-off-by: zyguan <[email protected]>

---------

Signed-off-by: MyonKeminta <[email protected]>
Signed-off-by: zyguan <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>
@MyonKeminta
Copy link
Contributor Author

@cfzjywxk PTAL, thanks!

@cfzjywxk cfzjywxk merged commit 22ecfce into tikv:tidb-6.5 May 29, 2023
@MyonKeminta MyonKeminta deleted the m/cherry-pick-batch-resolve-fix branch May 29, 2023 12:15
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.

4 participants