summaryrefslogtreecommitdiff
path: root/src/gatherer.erl
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-03-03 17:14:16 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-03-03 17:14:16 +0100
commit3b3aa4872af7c7baa7d07f22edcadecf7b0a144d (patch)
tree08e6f3a9a73c8217b3a2b0c8ccee8c7175010f1d /src/gatherer.erl
parenta614670cca2825f94f4b385269279e7ba6c6628f (diff)
downloadrabbitmq-server-git-3b3aa4872af7c7baa7d07f22edcadecf7b0a144d.tar.gz
rabbit_node_monitor: Cache pause_minority_guard() return value
If the list returned by `nodes()` didn't change since last call to `pause_minority_guard()`, return the previous state, not `ok`. This fixes a bug where the first call to `pause_minority_guard()` could return `pausing` but the subsequent calls would return `ok`, leading to channels resuming the send of confirms even though the node is about to enter pause mode.
Diffstat (limited to 'src/gatherer.erl')
0 files changed, 0 insertions, 0 deletions