-
Notifications
You must be signed in to change notification settings - Fork 412
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
Should unlock queue sending unlock(42) request to brokers where orderly consumer shutdown #994
Labels
bug
Something isn't working
Comments
所以,go客户端需要在consumer关闭的时候主动向broker发起unlock请求,是这样的吗? |
是的 |
如果是正常退出可以考虑加上unlock;
但是如果是异常或者程序interrupt,broker会在到期后强制转移使用权;
isExpired后,会强制将锁给到此时的请求者,完成所有权转换。 |
5 tasks
@qshuai @SchopenhauerZhang Hi, I have fixed it, please help me to review. |
francisoliverlee
pushed a commit
that referenced
this issue
Mar 20, 2023
[ISSUE #994] Fix: unlock all queues when consumer shutdown in orderly model
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: