summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-07-08 23:59:30 +0100
committerMatthew Sackman <matthew@lshift.net>2009-07-08 23:59:30 +0100
commitcb8e40836c51fa9a731360f60dedc69abc6a120c (patch)
tree8704fe4f090155047316462c9e671d8f506e857c /include
parentbcd079cd3960b7aa3259148f825898410f5477e2 (diff)
downloadrabbitmq-server-git-cb8e40836c51fa9a731360f60dedc69abc6a120c.tar.gz
The mixed queue contains in its queue knowledge of whether the next message is on disk or not. It does not use any sequence numbers, nor does it try to correllate queue position with sequence numbers in the disk_queue. Therefore, there is absolutely no reason for the disk_queue to have all the necessary complexity associated with being able to cope with non-contiguous sequence ids. Thus all removed. This has made the disk_queue a good bit simpler and slightly faster in a few cases too. All tests pass.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index b8425bafae..0ba31cb5e9 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -65,7 +65,7 @@
-record(basic_message, {exchange_name, routing_key, content,
guid, is_persistent}).
--record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id, next_seq_id}).
+-record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id}).
-record(delivery, {mandatory, immediate, txn, sender, message}).