-
Notifications
You must be signed in to change notification settings - Fork 14
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
What's the use of PAUSE a vhost? #66
Comments
Hey @bechampion . It's a good question, and your observations around heartbeats align with what we see. The aim of pausing is to support a stateful vhost migration from one broker to another. By pausing the vhost & forcing the clients to disconnect you can stabilise the state of the vhost, which makes the process of migrating to another broker possible / a lot simpler. Once the vhost has been remapped you need to force disconnect the clients to ensure they're forwarded to the correct broker. The exact technique is described in the middle of this talk: https://youtu.be/b2hQ8glQyhs - somewhere around the |
Sorry hit close with comment a bit early there - I updated the above comment - let me know if this helps |
It does help a lot , thank you so much. |
Marking closed |
As far as i notice the clients start loosing HB frames until they disconnect , what i was able to replicate is PAUSING/UNPAUSING quick enough within the HB Interval configured on the clients (and hopefully loosing 1 of the 2 HB frames within the interval) will not disconnect the client.
I wonder what's the function of PAUSING ? also i tried PAUSING ->REMAPPING -> UNPAUSING , but still my client ends up going to the same rabbitmq server until i reconnect.
Thank you!
The text was updated successfully, but these errors were encountered: