-
Notifications
You must be signed in to change notification settings - Fork 154
Fix[bmqimp]: Close channel on open, reopen, and close timeouts #996
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
base: main
Are you sure you want to change the base?
Conversation
8a5424c
to
f1e5b25
Compare
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.
Thank you for adding the IT.
There are still remains of e_*_EXPIRED
, is it possible to get rid of all of them?
9a799b6
to
525c1cc
Compare
This patch forces the channel to close when an operation times out while a queue is reopening. In this state, we do not know whether the queue has been successfully reopened or whether it will be in the future if the remote broker catches up. The safest thing to do here is to kill the connection to the broker and try to reconnect anew. Signed-off-by: Patrick M. Niedzielski <[email protected]>
This patch forces the channel to close when an operation times out while a queue is opening. In this state, we do not know whether the queue has been successfully reopened or whether it will be in the future if the remote broker catches up. The safest thing to do here is to kill the connection to the broker and let the user try to open the queue again. Signed-off-by: Patrick M. Niedzielski <[email protected]>
525c1cc
to
8444ec1
Compare
This patch forces the channel to close when an operation times out while a queue is being closed. In this state, we do not know whether the queue has been successfully closed or whether it will be in the future if the remote broker catches up. The safest thing to do here is to kill the connection to the broker, closing this (and all queues) and letting queues that were open be automatically reopened when we reconnect to a broker. Signed-off-by: Patrick M. Niedzielski <[email protected]>
8444ec1
to
d8534bd
Compare
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.
Build 3089 of commit d8534bd has completed with FAILURE
This PR causes the client to close the channel to the broker when opening, reopening, or closing a queue times out, rather than marking the queue as expired.