summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-09-30 11:46:13 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-09-30 11:46:13 +0100
commit80e2c5091671543e556eb357a8440f40a3090e70 (patch)
tree051a287d1130263dff1a213e150ff6c833c617ef
parent4c8e0ba742304badde6a5a43cc75046e3691d174 (diff)
downloadrabbitmq-server-80e2c5091671543e556eb357a8440f40a3090e70.tar.gz
Add brief note about requeue to VQ docs
-rw-r--r--src/rabbit_variable_queue.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 1a7166ca..4843def1 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -164,6 +164,11 @@
%% content have that content removed and the corresponding messages
%% are pushed out to disk.
%%
+%% Messages from pending acks are returned to q4, q3 and delta during
+%% requeue, based on the limits of seq_id contained in each. Requeued
+%% messages retain their original seq_id, maintaining order
+%% when requeued.
+%%
%% The order in which alphas are pushed to betas and pending acks
%% are pushed to disk is determined dynamically. We always prefer to
%% push messages for the source (alphas or acks) that is growing the