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

brpop多线程下可能引发的bug #107

Open
yeyeye2333 opened this issue Dec 9, 2024 · 1 comment
Open

brpop多线程下可能引发的bug #107

yeyeye2333 opened this issue Dec 9, 2024 · 1 comment

Comments

@yeyeye2333
Copy link
Collaborator

yeyeye2333 commented Dec 9, 2024

Is this a regression?

None

Description

在feat: add brpop cmd #48的实现中,当以如下顺序运行时,存在问题
微信图片_20241216150230

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

@yeyeye2333
Copy link
Collaborator Author

可行的一种解决办法:选择性取消Redis::RPop中的加锁步骤,改为在上层的BRPopCmd::DoCmd中使用MultiScopeRecordLock执行多键加锁

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

No branches or pull requests

1 participant