Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | yet more testsbug25328 | Matthias Radestock | 2012-12-03 | 1 | -2/+21 |
| | |||||
* | test more | Matthias Radestock | 2012-12-03 | 1 | -9/+13 |
| | |||||
* | add test for vq:fetchwhile | Matthias Radestock | 2012-12-03 | 1 | -11/+20 |
| | |||||
* | Whitespace | Emile Joubert | 2012-12-03 | 1 | -1/+1 |
| | |||||
* | merge default into bug25328 | Matthias Radestock | 2012-11-30 | 6 | -58/+81 |
|\ | |||||
| * | merge default into bug25328 | Matthias Radestock | 2012-11-30 | 6 | -58/+81 |
| |\ | |||||
| | * | return to a simpler, better BQ:dropwhile, and introduce 'fetchwhile' | Matthias Radestock | 2012-11-29 | 6 | -64/+87 |
| | | | | | | | | | | | | | | | | | | | | | ...to cover the remaining required functionality, including the ability to process messages along the way, pass around an accumulator, and get hold of the IsDelivered flag (not needed in our use case but included for similarity with 'fetch'). | ||||
* | | | unbreak qc (hopefully) | Matthias Radestock | 2012-11-30 | 1 | -2/+2 |
|/ / | |||||
* | | remove unused state var | Matthias Radestock | 2012-11-30 | 1 | -29/+14 |
|/ | | | | | We were diligently maintaining ack_msg_id, but never actually using it for anything. And it's always been like that. | ||||
* | merge bug25303 into default | Matthias Radestock | 2012-11-28 | 14 | -274/+269 |
|\ | |||||
| * | re-merge bug25303 into default | Matthias Radestock | 2012-11-27 | 14 | -274/+269 |
| |\ | |||||
| | * | Merge bug25323 | Simon MacMullen | 2012-11-27 | 7 | -57/+40 |
| | |\ | |||||
| | | * | mark all messages enqueued in the slave as 'delivered'bug25323 | Matthias Radestock | 2012-11-26 | 7 | -57/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which is a much better than the set_delivered logic, which we can now get rid of. In doing so it also becomes clear that having the 'delivered' flag in the #message_properties is less than ideal. It is mutable and we never bothered updating vq s.t. it sets the flag correctly. So lets get rid of it and add a parameter to bq:publish instead | ||||
| | * | | cosmetic | Matthias Radestock | 2012-11-27 | 1 | -5/+3 |
| | | | | |||||
| | * | | remove cruft | Matthias Radestock | 2012-11-26 | 1 | -1/+0 |
| | | | | |||||
| | * | | merge stable into default | Tim Watson | 2012-11-26 | 5 | -38/+31 |
| | |\ \ | |||||
| | | * \ | merge bug25309 into stable | Tim Watson | 2012-11-26 | 5 | -38/+31 |
| | | |\ \ | |||||
| | | | * \ | merge stable into bug25309bug25309 | Tim Watson | 2012-11-26 | 3 | -25/+42 |
| | | | |\ \ | | | | |/ / | | | |/| | | |||||
| | | | * | | recover for accidental merge with default | Tim Watson | 2012-11-26 | 1 | -1/+1 |
| | | | | | | |||||
| | | | * | | Fix a race where we decide on the BQ before writing the #amqqueue{} to ↵ | Simon MacMullen | 2012-11-22 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Mnesia, then the policy changes and we are therefore not notified. We now only make the initial decision after we can be assured we will be informed of subsequent changes. | ||||
| | | | * | | Carry on if an individual notification fails. | Simon MacMullen | 2012-11-21 | 1 | -2/+2 |
| | | | | | | |||||
| | | | * | | Useful guard. | Simon MacMullen | 2012-11-21 | 1 | -1/+1 |
| | | | | | | |||||
| | | | * | | Don't try to assert result of {add,drop}_mirror. | Simon MacMullen | 2012-11-21 | 1 | -11/+3 |
| | | | | | | |||||
| | | | * | | Make start/stop mirroring into a cast not a call. | Simon MacMullen | 2012-11-21 | 2 | -19/+19 |
| | | | | | | |||||
| | * | | | | merge bug25303 into default | Matthias Radestock | 2012-11-26 | 4 | -9/+11 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | Merged bug25311 | Emile Joubert | 2012-11-26 | 7 | -61/+140 |
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | |||||
| | | * | | | | merge bug25324 into default | Matthias Radestock | 2012-11-24 | 1 | -1/+1 |
| | | |\ \ \ \ | |||||
| | | | * | | | | 'pid' is a valid INFO_KEYbug25324 | Matthias Radestock | 2012-11-24 | 1 | -1/+1 |
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | and some code, namely the clustering tests, rely on that | ||||
| | | * | | | | merge bug25303 into default | Matthias Radestock | 2012-11-23 | 5 | -9/+93 |
| | | |\ \ \ \ | |||||
| | | * \ \ \ \ | Merged bug25315 | Emile Joubert | 2012-11-23 | 7 | -151/+197 |
| | | |\ \ \ \ \ | |||||
| | | * | | | | | | propagate API changebug25315 | Matthias Radestock | 2012-11-22 | 1 | -4/+4 |
| | | | | | | | | | |||||
| | | * | | | | | | bq api tweak: don't include remaining message count in fetch/drop result | Matthias Radestock | 2012-11-22 | 6 | -47/+42 |
| | | | | | | | | | |||||
| | * | | | | | | | don't evict messages from RAM when inserting them into pending_ackbug25311 | Matthias Radestock | 2012-11-23 | 1 | -10/+7 |
| | | |/ / / / / | | |/| | | | | | |||||
| | * | | | | | | refactor: vq:ram_ack_index doesn't need to be a gb_tree | Matthias Radestock | 2012-11-23 | 1 | -12/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a gb_set suffices | ||||
| | * | | | | | | merge bug23625 into default | Matthias Radestock | 2012-11-23 | 4 | -106/+137 |
| | |\ \ \ \ \ \ | |||||
| | | * | | | | | | Explainbug23625 | Simon MacMullen | 2012-11-22 | 1 | -0/+10 |
| | | | | | | | | | |||||
| | | * | | | | | | Don't duplicate name. | Simon MacMullen | 2012-11-22 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | optimise | Matthias Radestock | 2012-11-16 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this brings perf roughly on par with default | ||||
| | | * | | | | | | identify queues by name rather than pid in channel stats | Matthias Radestock | 2012-11-16 | 2 | -67/+86 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in deliver_to_queues, take the result of rabbit_amqqueue:lookup and use it to a) add entries to a QPid -> QName mapping in the state for all master pids, and b) setup monitors for all master pids - for the stats creation in deliver_to_queues, map the DeliveredQPids to the associated QNames, via the mapping in the State. Note that this will ignore slave pids, hence we only get one stat per QName (which is good). Also, in the event that the master died between lookup and delivery (and the delivery was 'mandatory'), we will not record any stats at all. - in monitor_delivering_queue, which is called by basic.{consume,get} we add to the mapping - in ack/2 we use the mapping to obtain QNames from QPids, and use that in stats. Since a queue may have vanished prior to the ack/reject arriving, we need to handle the case of no entry being present in the mapping for the given QPid. - in record_sent we have the QName anyway, so can just record stats against that instead of the QPid. - in the 'DOWN' handler we use the mapping to determine the QName from the pid, and pass that to erase_queue_stats, which can now remove entries based on the QName. We then remove the entry from the mapping. | ||||
| | | * | | | | | | propagate API change | Matthias Radestock | 2012-11-16 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | merge default into bug23625 | Matthias Radestock | 2012-11-16 | 2 | -38/+38 |
| | | |\ \ \ \ \ \ | |||||
| | | | * \ \ \ \ \ | merge default into bug23625 | Matthias Radestock | 2012-11-16 | 4 | -89/+69 |
| | | | |\ \ \ \ \ \ | |||||
| | | | * \ \ \ \ \ \ | merge default into bug23625 | Matthias Radestock | 2012-11-15 | 2 | -38/+38 |
| | | | |\ \ \ \ \ \ \ | |||||
| | | | | * \ \ \ \ \ \ | merge default into bug23625 | Matthias Radestock | 2012-11-15 | 1 | -6/+4 |
| | | | | |\ \ \ \ \ \ \ | |||||
| | | | | * | | | | | | | | reference queue by name in consumer events | Matthias Radestock | 2012-11-15 | 1 | -18/+22 |
| | | | | | | | | | | | | | |||||
| | | | | * | | | | | | | | emit names instead of pids in queue process' queue events | Matthias Radestock | 2012-11-15 | 2 | -20/+16 |
| | | | | | | | | | | | | | |||||
| | | | | * | | | | | | | | restart branch | Matthias Radestock | 2012-11-15 | 0 | -0/+0 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | expand test coverage to at least two iterations of delta_foldbug25303 | Matthias Radestock | 2012-11-28 | 1 | -18/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously it had no test coverage at all Also, re-use the same vq for all fold tests, for efficiency. | ||||
* | | | | | | | | | | | | | tweak | Matthias Radestock | 2012-11-28 | 1 | -19/+14 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | cosmetic | Matthias Radestock | 2012-11-28 | 1 | -2/+3 |
| | | | | | | | | | | | | |