diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-11-22 14:21:19 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-11-22 14:21:19 +0000 |
| commit | bf657f51df2533696c7fe090c54b258f8448e90c (patch) | |
| tree | 29c249e6438c02b38486f5848be93dfb701b5099 | |
| parent | 73a31048797f70aafae8ab7ff7c1aea5efbb8a4f (diff) | |
| download | rabbitmq-server-git-bf657f51df2533696c7fe090c54b258f8448e90c.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.
| -rw-r--r-- | src/rabbit_mirror_queue_slave.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl index 7182042d44..73eaed1476 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]), |
