summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* md5sum the queue index directory. Also detect and crash if a collision occursMatthew Sackman2010-07-263-12/+15
|
* merging bug23010 into defaultVlad Ionescu2010-07-261-0/+10
|\
| * selectively receive more messages during testsAlexandru Scvortov2010-07-261-0/+10
|/
* merge bug21673 into defaultMatthias Radestock2010-07-2213-1/+5762
|\
| * replace use of dict with orddict for per-msg_store partitionsMatthias Radestock2010-07-221-17/+18
| | | | | | | | which is much faster for small dicts
| * merge default into bug21673Matthias Radestock2010-07-221-2/+9
| |\
| * | refactor: extract rates into separate part of vq stateMatthias Radestock2010-07-221-43/+45
| | |
| * | Merging default into bug 21673Matthew Sackman2010-07-211-2/+2
| |\ \
| * | | use the new BQ:stop/0 function in testsMatthias Radestock2010-07-211-3/+3
| | | | | | | | | | | | | | | | for better symmetry
| * | | rabbit_amqqueue:stop already stops the msg_storeMatthias Radestock2010-07-211-1/+0
| | | |
| * | | merge default into bug21673Matthias Radestock2010-07-2112-34/+33
| |\ \ \
| * | | | cosmeticMatthias Radestock2010-07-211-5/+6
| | | | |
| * | | | cosmeticMatthias Radestock2010-07-211-1/+1
| | | | |
| * | | | more vq test refactoringMatthias Radestock2010-07-201-32/+34
| | | | |
| * | | | vq test refactoringMatthias Radestock2010-07-201-40/+40
| | | | |
| * | | | remove superfluous testMatthias Radestock2010-07-201-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | this is covered elsewhere already, notably in test_variable_queue_partial_segments_delta_thing.
| * | | | made one of the vq tests a little less obscureMatthias Radestock2010-07-201-35/+32
| | | | | | | | | | | | | | | | | | | | ...and don't rely on timing
| * | | | cosmeticMatthias Radestock2010-07-191-14/+13
| | | | |
| * | | | cosmeticMatthias Radestock2010-07-191-31/+31
| | | | |
| * | | | minor refactoring of vq testsMatthias Radestock2010-07-191-34/+30
| | | | |
| * | | | simplify qi testsMatthias Radestock2010-07-191-50/+52
| | | | |
| * | | | simplify qi testsMatthias Radestock2010-07-191-37/+38
| | | | |
| * | | | simplify qi testsMatthias Radestock2010-07-191-64/+73
| | | | |
| * | | | cosmeticMatthias Radestock2010-07-191-24/+24
| | | | |
| * | | | simplify qi testsMatthias Radestock2010-07-191-12/+11
| | | | |
| * | | | refactor msg_store starting/stopping in testsMatthias Radestock2010-07-191-55/+27
| | | | | | | | | | | | | | | | | | | | using the new funs in vq
| * | | | flesh out vq API with funs useful for testingMatthias Radestock2010-07-191-5/+16
| | | | |
| * | | | merge default into bug21673Matthias Radestock2010-07-192-2/+13
| |\ \ \ \
| * | | | | More documentationMatthew Sackman2010-07-191-0/+30
| | | | | |
| * | | | | Improve documentation and document persistent vs transient msg store are forMatthew Sackman2010-07-191-10/+18
| | | | | |
| * | | | | refactor: simplify msg_store testsMatthias Radestock2010-07-191-19/+15
| | | | | |
| * | | | | refactor: simplify msg_store testsMatthias Radestock2010-07-191-14/+19
| | | | | |
| * | | | | refactor: simplify msg_store testsMatthias Radestock2010-07-191-12/+9
| | | | | |
| * | | | | tweakMatthias Radestock2010-07-191-3/+3
| | | | | |
| * | | | | refactor: take adantage of l/r symmetry in bpqueue testsMatthias Radestock2010-07-191-63/+43
| | | | | |
| * | | | | dict:find -> dict:fetch andalso lists:flatten -> lists:appendMatthew Sackman2010-07-191-8/+8
| | | | | |
| * | | | | Merging bug 22987 into bug 21673Matthew Sackman2010-07-191-29/+55
| |\ \ \ \ \
| | * | | | | CosmeticsMatthew Sackman2010-07-191-13/+13
| | | | | | |
| | * | | | | optimise qi:sync call in tx commitMatthias Radestock2010-07-191-29/+55
| |/ / / / / | | | | | | | | | | | | | | | | | | call it with acks for persistent & durable messages only
| * | | | | refactor: 'cons_if' helper functionMatthias Radestock2010-07-191-20/+9
| | | | | |
| * | | | | merge default into bug21673Matthias Radestock2010-07-191-1/+1
| |\ \ \ \ \
| * | | | | | cosmeticMatthias Radestock2010-07-191-0/+1
| | | | | | |
| * | | | | | tweak msg_store API to make it saferMatthias Radestock2010-07-183-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...by not allowing clients to be deleted w/o terminating them too
| * | | | | | tiny refactorMatthias Radestock2010-07-181-7/+6
| | | | | | |
| * | | | | | add a 'todo'Matthias Radestock2010-07-181-0/+5
| | | | | | |
| * | | | | | don't log warnings on clean startup of a msg_storeMatthias Radestock2010-07-183-25/+18
| | | | | | |
| * | | | | | don't forget to process transactional acksMatthias Radestock2010-07-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...when the tx doesn't involve any persistent messages, thus plugging a leak in pending_ack and qi. To reproduce: rr(amqp_connection). Conn = amqp_connection:start_network(), Ch = amqp_connection:open_channel(Conn), Q = <<"Q">>, amqp_channel:call(Ch, #'queue.declare'{queue = Q, durable = true, exclusive = true}), amqp_channel:call(Ch, #'basic.publish'{routing_key = Q}, #amqp_msg{}), amqp_channel:call(Ch, #'basic.get'{queue = Q}), amqp_channel:call(Ch, #'tx.select'{}), amqp_channel:call(Ch, #'basic.ack'{delivery_tag = 1}), amqp_channel:call(Ch, #'tx.commit'{}), ok. and then $ ./scripts/rabbitmqctl list_queues name messages_unacknowledged backing_queue_status Listing queues ... Q 0 [{q1,0},{q2,0},{delta,{delta,undefined,0,undefined}},{q3,0},{q4,0},{len,0},{pending_acks,1},{outstanding_txns,0},{target_ram_msg_count,infinity},{ram_msg_count,0},{ram_index_count,0},{avg_egress_rate,0.0},{avg_ingress_rate,0.0},{next_seq_id,1},{persistent_count,0}] ...done. Note the pending_acks of 1.
| * | | | | | add pending_acks to bq state reportMatthias Radestock2010-07-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it turns out to be useful
| * | | | | | refactor: invert some conditionals for better readabilityMatthias Radestock2010-07-161-22/+18
| | | | | | |
| * | | | | | refactor: trim args for msg_store_callbackMatthias Radestock2010-07-161-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | we only ever need a msg_store_callback when we have persisted pubs