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.1) lock_resolver: handle pessimistic locks in BatchResolveLocks (#794) #859

Conversation

MyonKeminta
Copy link
Contributor

Ref: pingcap/tidb#43243

Cherry-picks #794 to tidb-6.1 branch

* 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 MyonKeminta merged commit 01e2395 into tikv:tidb-6.1 Jun 30, 2023
7 of 8 checks passed
@MyonKeminta MyonKeminta deleted the m/cherry-pick-batch-resolve-lock-fix-to-6.1 branch June 30, 2023 05:23
@MyonKeminta MyonKeminta restored the m/cherry-pick-batch-resolve-lock-fix-to-6.1 branch June 30, 2023 07:37
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