summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove silly race.Simon MacMullen2014-08-211-5/+12
|
* Merge in defaultSimon MacMullen2014-08-205-15/+185
|\
| * Merge bug26353Simon MacMullen2014-08-200-0/+0
| |\
| * | Those diagnostics are actually a bit dubious, they insert quite a delay and ↵Simon MacMullen2014-08-201-2/+1
| |/ | | | | | | aren't really designed to be logged.
| * call/2 -> call/3.Simon MacMullen2014-08-201-1/+2
| |
| * MErge bug25813Simon MacMullen2014-08-2010-84/+111
| |\
| | * stable to defaultSimon MacMullen2014-08-2055-833/+2145
| | |\
| | * \ Merge bug26354Simon MacMullen2014-08-201-1/+1
| | |\ \
| | | * | Get the message format right for this case too.Simon MacMullen2014-08-201-1/+1
| | |/ /
| * | | Fix a race.Simon MacMullen2014-08-201-1/+7
| | | |
| * | | Return 1 consumer.Simon MacMullen2014-08-181-2/+3
| | | |
| * | | Implement declaration.Simon MacMullen2014-08-181-2/+40
| | | |
| * | | Prevent malicious channels from sending messages to arbitrary processes with ↵Simon MacMullen2014-08-182-3/+26
| | | | | | | | | | | | | | | | this mechanism.
| * | | We'll just document that mandatory doesn't work.Simon MacMullen2014-08-181-1/+0
| | | |
| * | | base64 encoding is expensive enough to make it worth precalculating the ↵Simon MacMullen2014-08-151-12/+14
| | | | | | | | | | | | | | | | encoded pid just in case we want to reuse it.
| * | | Remove support for decorators to modify routing for the default exchange; it ↵Simon MacMullen2014-08-141-6/+5
| | | | | | | | | | | | | | | | doesn't make a ton of sense. Also no longer describe this as an optimisation since some of it is more than that.
| * | | We don't need to worry about confirms, they will get sent. Change to a soft ↵Simon MacMullen2014-08-141-4/+6
| | | | | | | | | | | | | | | | error for new errors.
| * | | Support cancel.Simon MacMullen2014-08-141-1/+9
| | | |
| * | | Unused var.Simon MacMullen2014-08-141-1/+1
| | | |
| * | | Security hole--Simon MacMullen2014-08-142-21/+25
| | | |
| * | | Rename this thing for consistency and also RabbitMQ-specificness.Simon MacMullen2014-08-142-6/+7
| | | |
| * | | Prototype of fast RPC replies.Simon MacMullen2014-08-132-5/+92
| | | |
* | | | CosmeticSimon MacMullen2014-08-201-2/+1
| | | |
* | | | Make this test make sense for the new regime. There will of course need to ↵Simon MacMullen2014-08-201-8/+4
| | | | | | | | | | | | | | | | be lots of new tests but at least this passes now.
* | | | Switch to making our restart decisions based on explicitly determining ↵Simon MacMullen2014-08-204-96/+78
| | | | | | | | | | | | | | | | whether we are starting for the first time or not. This is not very OTPish but it turns out to be necessary: there's no way to distinguish between losing a race to declare, starting a new slave, and restarting to a new slave otherwise. As an upside this code is shorter and more obviously correct (to me at least).
* | | | Allow crashing queue processes to come back as slaves if that's what we need.Simon MacMullen2014-08-202-1/+10
| | | |
* | | | This is perhaps more honest; if the queue was transient we will not recover ↵Simon MacMullen2014-08-201-2/+1
| | | | | | | | | | | | | | | | anything and if the queue is mirrored we will restart a slave and then also not recover anything.
* | | | Allow transient queues to recover.Simon MacMullen2014-08-201-8/+11
| | | |
* | | | We handled that case in 359da524140bSimon MacMullen2014-08-201-1/+0
| | | |
* | | | Add an intermediate supervisor so that if a queue exceeds its restart limit ↵Simon MacMullen2014-08-204-26/+73
| | | | | | | | | | | | | | | | we don't bring the whole server down!
* | | | Log that we recovered. Also store updated pid in Mnesia!Simon MacMullen2014-08-191-6/+14
| | | |
* | | | Allow crashing queues to recover themselves.Simon MacMullen2014-08-193-36/+48
| | | |
* | | | Remove a pointless check here - we will check from within an Mnesia tx in ↵Simon MacMullen2014-08-191-24/+13
| | | | | | | | | | | | | | | | rabbit_mirror_queue_slave:init_it/4 anyway, which makes much more sense (and it will make little sense to check at slave start if we can restart a crashed slave).
* | | | Another copy of the master_in_recovery check. Not sure that's very elegant, ↵Simon MacMullen2014-08-194-24/+50
| | | | | | | | | | | | | | | | but I don't think we have much choice.
* | | | Roll slave startup into the new mechanism.Simon MacMullen2014-08-199-105/+65
| | | |
* | | | Various spec-ish fixes.Simon MacMullen2014-08-193-9/+5
| | | |
* | | | First step along the way to queue restarts. Create a "prequeue" module whose ↵Simon MacMullen2014-08-194-112/+179
| |_|/ |/| | | | | | | | job it is to decide how to proceed, and then have the supervisor start that. At the moment we only handle rabbit_amqqueue_process startup through this, but that will change. Also move the tx which decides whether we successfully declared the queue or not into the first part of the queue startup (before we call into the queue) since in future it will be needed for other things.
* | | stable to defaultSimon MacMullen2014-08-1855-833/+2145
|\ \ \ | |_|/ |/| |
| * | stable to defaultSimon MacMullen2014-08-151-0/+9
| |\ \
| * \ \ Merge bug26345Simon MacMullen2014-08-144-39/+38
| |\ \ \
| | * | | Further simplify logging. Get rabbit_log to figure out whether the group ↵Simon MacMullen2014-08-144-39/+38
| |/ / / | | | | | | | | | | | | leader switcheroo is needed, rather than leaving it up to the caller. We now have one logging API. Woot!
| * | | Merge bug26306Simon MacMullen2014-08-1328-291/+518
| |\ \ \
| | * \ \ Merge bug26337 (again)Simon MacMullen2014-08-1311-79/+125
| | |\ \ \ | | | | |/ | | | |/|
| | | * | stable to defaultSimon MacMullen2014-08-1354-800/+2107
| | | |\ \
| | | | * | For some reason post bug 26337 we need to make sure this gets logged in the ↵Simon MacMullen2014-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | server and not though rabbitmqctl.
| | | | * | Merge bug25884Simon MacMullen2014-08-121-2/+2
| | | | |\ \
| | | | | * | Actually maybe that's clearer.Simon MacMullen2014-08-121-2/+2
| | | | | | |
| | | | * | | RenameSimon MacMullen2014-08-123-7/+6
| | | | | | |
| | | | * | | And max-length is implemented in terms of messages_ready, so do the same for ↵Simon MacMullen2014-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | max-bytes
| | | | * | | Merge in defaultSimon MacMullen2014-08-123-31/+54
| | | | |\ \ \ | | | | | |/ /