diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mirror_queue_master.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_master.erl b/src/rabbit_mirror_queue_master.erl index 3b7d077b21..ab02351439 100644 --- a/src/rabbit_mirror_queue_master.erl +++ b/src/rabbit_mirror_queue_master.erl @@ -261,8 +261,9 @@ batch_publish(Publishes, ChPid, Flow, MsgSizes), BQS1 = BQ:batch_publish(Publishes2, ChPid, Flow, BQS), ensure_monitoring(ChPid, State #state { backing_queue_state = BQS1 }). -%% [0] when the slave process the publish instruction, it sets the -%% IsDelivered flag to true. +%% [0] When the slave process the publish instruction, it sets the +%% IsDelivered flag to true, so to avoid iterating over the messages +%% again at the slave, we do it here. publish_delivered(Msg = #basic_message { id = MsgId }, MsgProps, ChPid, Flow, State = #state { gm = GM, |
