summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-11-22 12:45:58 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-11-22 12:45:58 +0000
commitd736db72ad3a043adf8300db010b01d6fa3069a0 (patch)
tree0e21002bb97a0c65afd55e8b824b4971890f6a9a /src
parente309e92599e5b42b1bfcc414167d8f55523b0f4f (diff)
downloadrabbitmq-server-git-d736db72ad3a043adf8300db010b01d6fa3069a0.tar.gz
More explanation
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_misc.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index e21dc282c1..9ebe2cfe9b 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -319,6 +319,8 @@ update_mirrors0(OldQ = #amqqueue{name = QName},
NewNodes = [NewMNode | NewSNodes],
add_mirrors (QName, NewNodes -- OldNodes),
drop_mirrors(QName, OldNodes -- NewNodes),
+ %% This is for the case where no extra nodes were added but we changed to
+ %% a policy requiring auto-sync.
maybe_auto_sync(NewQ),
ok.