diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-01-12 18:33:37 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-01-12 18:33:37 +0000 |
| commit | 1e4ecb8f788103cb2d52cbf551e16a3fe0d829f2 (patch) | |
| tree | 141f082be8b4ed28003231d422d90bd71c83e900 /include | |
| parent | 872a13632237b4c9440320a819afd413e9231685 (diff) | |
| download | rabbitmq-server-git-1e4ecb8f788103cb2d52cbf551e16a3fe0d829f2.tar.gz | |
Right, getting there - some major reworkings to vq which have fixed bugs. It doesn't quite do everything I want it to do it - in particular, on memory reduction, it needs to ensure that the inner queues nearest δ have sufficient non-ram-index msgs, but all thet tests pass and adding that feature shouldn't be too painful.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_queue.hrl | 20 |
1 files changed, 2 insertions, 18 deletions
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() }). |
