-
Notifications
You must be signed in to change notification settings - Fork 472
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 condition race for ReclaimOldDBPtr #246
Conversation
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.
LGTM
Actually, i don't satisfied with my PR, so it is a draft, for |
yeah, another alternative was the boost |
@Mergifyio backport 1.3 |
(cherry picked from commit 9781e93)
Command
|
I change
excuting_command_num_
memory order tostd::memory_order_seq_cst
, evenloading
can establish inter-thread sync, but i think it is not error-prone if atomic variable has sync semantic cross multi threads.