diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-07-28 17:11:30 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-07-29 11:12:39 +0200 |
| commit | ed2766564f5e2cc23e62e139d435e2ea511d12dd (patch) | |
| tree | 5e752c7384d07422f8a0a504d0addb5aeb0a1063 /codegen.py | |
| parent | ac5373f34ec1dac6ad338d14580d28c7c2d4132e (diff) | |
| download | rabbitmq-server-git-ed2766564f5e2cc23e62e139d435e2ea511d12dd.tar.gz | |
GM: Wait for messages to be ACK'd before exiting
When the GM is asked to stop, it flushes the pending messages but
does not ensure those messages are actually delivered to all members.
In some situations, this can lead to other GMs detecting that this GM is
unexpectedly down, even if this GM just sent a message to ask them to
stop as well.
When this happens in the case of queue mirroring for instance, this
causes a slave to promote itself as the new master, and the old master
to wait forever that other slaves exit.
Fixes #224.
Diffstat (limited to 'codegen.py')
0 files changed, 0 insertions, 0 deletions
