-
Notifications
You must be signed in to change notification settings - Fork 6
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命令可能存在的问题 #186
Comments
Title: Possible problems with the brpop command brpop will block and wait when the key does not exist. Will there be any problems if the raft leader switches? |
liuhuan 提交的问题,需要考虑下这个 case |
The question submitted by lihuan needs to be considered. |
要让leader切换后保持阻塞,需要修改binlog或增加回调来调用ServeAndUnblockConns,但看redisRaft的行为好像是切换leader后直接中断? |
To keep the leader blocked after switching, you need to modify the binlog or add a callback to call ServeAndUnblockConns, but looking at the behavior of redisRaft seems to be interrupted directly after switching the leader? |
优先单机模式 |
Priority stand-alone mode |
brpop在key不存在时,会block等待,这时如果raft leader切换,会有问题吗?
The text was updated successfully, but these errors were encountered: