summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* keep track of uncommitted acks in a list instead of a queueMatthias Radestock2011-10-011-17/+15
| | | | This is simpler.
* collect acks in lists rather than queuesMatthias Radestock2011-10-011-20/+26
| | | | | ...which is slightly simpler and more efficient. This also allows us to optimise for the common case in fold_per_queue.
* speed up acks a bitMatthias Radestock2011-10-011-10/+5
| | | | | gb_trees are generally faster than dicts. Worth 1-2% in "MCM" when running with two Erlang schedulers.
* refactor: extract gb_trees_fold/3 and gb_trees_foreach/2Matthias Radestock2011-10-013-11/+17
|
* refactor: eliminate gratuitous differences in 'confirm' codeMatthias Radestock2011-10-012-17/+17
|
* refactor: one gb_trees_cons is quite enoughMatthias Radestock2011-10-013-15/+11
|
* a few minor tweaks, essentially cosmeticMatthias Radestock2011-09-301-7/+7
|
* avoid creation of intermediate binaries by using io_listsMatthias Radestock2011-09-301-3/+2
| | | | This is worth 1-2% with "MCM -a" and two Erlang schedulers
* performance improving short cutMatthias Radestock2011-09-301-0/+2
| | | | This gains 1-2% when running "MCM -a" with two Erlang schedulers
* cosmeticMatthias Radestock2011-09-301-2/+1
|
* merge bug23764 into defaultMatthias Radestock2011-09-304-175/+340
|\
| * correct formattingMatthias Radestock2011-09-301-13/+14
| |
| * merge default into bug23764Matthias Radestock2011-09-303-69/+60
| |\ | |/ |/|
* | reformattingMatthias Radestock2011-09-301-57/+46
| |
* | merge bug24298 into defaultMatthias Radestock2011-09-2965-963/+1450
|\ \
| * | Further oops, we now depend on everything being built before running ↵Simon MacMullen2011-09-281-1/+1
| | | | | | | | | | | | run-background-node, otherwise we have two make processes tryi9ng to compile at the same time and they tread on each other.
| * | OoopsSimon MacMullen2011-09-281-1/+1
| | |
| * | Merge bug24371Simon MacMullen2011-09-2825-483/+631
| |\ \
| * \ \ merge default into bug24371Alexandru Scvortov2011-09-211-4/+11
| |\ \ \
| | * | | Ensure dir existsMatthew Sackman2011-09-061-0/+1
| | | | |
| | * | | Use ctl wait in makefile; use setsid and backgrounding borrowed from initMatthew Sackman2011-08-222-5/+11
| | | | |
* | | | | Minor refactorMatthew Sackman2011-08-221-3/+3
| | | | |
* | | | | More efficient use of harddiscsMatthew Sackman2011-08-221-2/+1
| | | | |
* | | | | Always call client_delete_and_terminate for the transient queue. We then ↵Matthew Sackman2011-08-221-10/+6
| | | | | | | | | | | | | | | | | | | | don't need to store the TRef and we should certainly never re-present it.
| | | | * Add brief note about requeue to VQ docsEmile Joubert2011-09-301-0/+5
| | | | |
| | | | * always record pending acks in #msg_status formMatthias Radestock2011-09-301-53/+34
| | | | | | | | | | | | | | | | | | | | | | | | | #msg_status { msg = undefined } replaces the previous 4-tuple. This simplifies the API and gets rid of the obscure, ad-hoc 4-tuple.
| | | | * cosmeticMatthias Radestock2011-09-301-8/+8
| | | | |
| | | | * refactor: extract removal from pending_ackMatthias Radestock2011-09-291-29/+29
| | | | | | | | | | | | | | | | | | | | and in the process renamed remove_pending_ack to purge_pending_ack.
| | | | * inline ack/4Matthias Radestock2011-09-291-32/+25
| | | | | | | | | | | | | | | | | | | | since there is now just one call site left
| | | | * refactor: pull call to msg_from_pending_ack into queue_mergeMatthias Radestock2011-09-291-36/+32
| | | | | | | | | | | | | | | | | | | | | | | | | thus avoiding duplication, making the alpha/beta fun tables non-parametric, and containing knowledge of seq ids in queue_merge.
| | | | * inlining and reshufflingMatthias Radestock2011-09-291-50/+45
| | | | |
| | | | * further abstraction of queue/bpqueue distinctionMatthias Radestock2011-09-291-5/+9
| | | | |
| | | | * a whole bunch of refactoring and cosmetic changesMatthias Radestock2011-09-291-101/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - more sensible order of args to queue_merge and delta_merge: 1) things that get consumed, 2) things that get added to, 3) constants, 4) State - more sensible order of results of queue_merge and delta_merge: 1) things left over from (1) above, 2) things produced, 4) State - better var names - correct indentation - stick to <80 columns - some inlining
| | | | * Refactor, rename, commentEmile Joubert2011-09-291-31/+21
| | | | |
| | | | * Concession to Qpid tests is now redundantEmile Joubert2011-09-291-5/+1
| | | | |
| | | | * Speed up requeue testEmile Joubert2011-09-291-22/+24
| | | | |
| | | | * Move #msg_status{} back to rabbit_variable_queueEmile Joubert2011-09-292-28/+11
| | | | |
| | | | * Only ack messages when necessaryEmile Joubert2011-09-291-10/+11
| | | | |
| | | | * lshiftEmile Joubert2011-09-281-5/+5
| | | | |
| | | | * Better test coverageEmile Joubert2011-09-281-4/+6
| | | | |
| | | | * RefactorEmile Joubert2011-09-272-79/+84
| | | | | | | | | | | | | | | | | | | | Making use of the symmetry between q3 and q4
| | | | * Requeue fasterEmile Joubert2011-09-272-103/+143
| | | | | | | | | | | | | | | | | | | | | | | | | by not adding messages one at a time Modify test to requeue multiple messages
| | | | * Merged default into bug23764Emile Joubert2011-09-2682-1684/+3986
| | | | |\ | | | | |/ | | | |/|
| | | * | Merge bug 24315Simon MacMullen2011-09-238-18/+34
| | | |\ \
| | | | * | extend commentAlexandru Scvortov2011-09-231-0/+2
| | | | | |
| | | | * | merge default into bug24315Alexandru Scvortov2011-09-238-18/+32
| | | | |\ \ | | | |/ / /
| | | | * | refactorAlexandru Scvortov2011-09-063-29/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two with_local_ios in rabbit_mnesia were unneeded. Huh. We only need to use with_local_io/1 when we use error_logger; the most common case is error_logger:info_msg/2, so we now have a helper function.
| | | | * | fix testsAlexandru Scvortov2011-09-061-2/+2
| | | | | |
| | | | * | log various ctl actionsAlexandru Scvortov2011-09-066-7/+33
| | | | | |
| | | * | | merge bug24332 into defaultMatthias Radestock2011-09-233-130/+111
| | | |\ \ \