summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-11-22 14:21:19 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-11-22 14:21:19 +0000
commit61f84ebcf0d23542338bb7f45b6a4bef77744345 (patch)
tree29c249e6438c02b38486f5848be93dfb701b5099
parent46da2f463944758c4befbe3577fdea6348954db9 (diff)
downloadrabbitmq-server-bug24578.tar.gz
Don't add message id to the set of msgs we've heard of from gm but not channel, if we actually *have* heard of it from the channel.bug24578
-rw-r--r--src/rabbit_mirror_queue_slave.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index 7182042d..73eaed14 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -725,7 +725,7 @@ process_instruction(
never ->
{MQ2, PendingCh, MS};
eventually ->
- {MQ2, sets:add_element(MsgId, PendingCh),
+ {MQ2, PendingCh,
dict:store(MsgId, {published, ChPid, MsgSeqNo}, MS)};
immediately ->
ok = rabbit_channel:confirm(ChPid, [MsgSeqNo]),