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

Replace unnecessary Lock()/Unlock()s with RLock()/RUnlock()s #16247

Open
3 tasks
CaojiamingAlan opened this issue Jul 15, 2023 · 0 comments
Open
3 tasks

Replace unnecessary Lock()/Unlock()s with RLock()/RUnlock()s #16247

CaojiamingAlan opened this issue Jul 15, 2023 · 0 comments

Comments

@CaojiamingAlan
Copy link
Contributor

CaojiamingAlan commented Jul 15, 2023

What would you like to be added?

Follow up #16068 (comment)
There are some read transactions use Lock()/Unlock() when trying to get data from backend. We should replace them with RLock()/RUnlock() to allow more concurrent reads.

Why is this needed?

Improve concurrency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant