From 1e4ecb8f788103cb2d52cbf551e16a3fe0d829f2 Mon Sep 17 00:00:00 2001 From: Matthew Sackman Date: Tue, 12 Jan 2010 18:33:37 +0000 Subject: =?UTF-8?q?Right,=20getting=20there=20-=20some=20major=20reworking?= =?UTF-8?q?s=20to=20vq=20which=20have=20fixed=20bugs.=20It=20doesn't=20qui?= =?UTF-8?q?te=20do=20everything=20I=20want=20it=20to=20do=20it=20-=20in=20?= =?UTF-8?q?particular,=20on=20memory=20reduction,=20it=20needs=20to=20ensu?= =?UTF-8?q?re=20that=20the=20inner=20queues=20nearest=20=CE=B4=20have=20su?= =?UTF-8?q?fficient=20non-ram-index=20msgs,=20but=20all=20thet=20tests=20p?= =?UTF-8?q?ass=20and=20adding=20that=20feature=20shouldn't=20be=20too=20pa?= =?UTF-8?q?inful.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/rabbit_queue.hrl | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'include') diff --git a/include/rabbit_queue.hrl b/include/rabbit_queue.hrl index 69ad7588c3..fc1dbf746d 100644 --- a/include/rabbit_queue.hrl +++ b/include/rabbit_queue.hrl @@ -29,23 +29,7 @@ %% Contributor(s): ______________________________________. %% --record(alpha, - { msg, - seq_id, - is_delivered, - msg_on_disk, - index_on_disk - }). - --record(beta, - { msg_id, - seq_id, - is_persistent, - is_delivered, - index_on_disk - }). - --record(gamma, +-record(delta, { start_seq_id, count, end_seq_id %% note the end_seq_id is always >, not >= @@ -53,7 +37,7 @@ -ifdef(use_specs). --type(gamma() :: #gamma { start_seq_id :: non_neg_integer(), +-type(delta() :: #delta { start_seq_id :: non_neg_integer(), count :: non_neg_integer (), end_seq_id :: non_neg_integer() }). -- cgit v1.2.1