summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge in defaultbug26366Simon MacMullen2014-09-163-29/+39
|\
| * Merge in defaultSimon MacMullen2014-09-153-29/+39
| |\
| | * Quotes.Simon MacMullen2014-09-101-5/+4
| | |
| | * ...and the same for exchanges.Simon MacMullen2014-09-101-10/+9
| | |
| | * Sensible errors on queue durable / auto_delete inequivalence.Simon MacMullen2014-09-102-19/+31
| | |
* | | Merge bug26151Simon MacMullen2014-09-160-0/+0
|\ \ \
* | | | Delete a bit of complicated code.bug26151Simon MacMullen2014-09-151-33/+7
| | | |
* | | | Merge in defaultSimon MacMullen2014-09-159-52/+94
|\ \ \ \ | |/ / /
| * | | Merge bug26372Simon MacMullen2014-09-156-28/+47
| |\ \ \ | | |/ / | |/| |
| | * | Oopsbug26372Simon MacMullen2014-09-151-1/+1
| | | |
| | * | Reify queue crashed state.Simon MacMullen2014-09-156-28/+47
| |/ /
| * | Be more assertive, don't assume application.Simon MacMullen2014-09-151-2/+2
| | |
| * | Believe it or not, bug 21446 perturbed things enough that this was no longer ↵Simon MacMullen2014-09-151-1/+1
| | | | | | | | | | | | enough (on CI at least) in wait_for_confirms/1. So bump it I guess.
| * | Stack trace on test failure.Simon MacMullen2014-09-151-0/+10
| | |
| * | Post bug 21446 this test became racy since it is supposed to kill the queue ↵Simon MacMullen2014-09-121-0/+2
| | | | | | | | | | | | and not have it restart - so let's kill the supervisor first.
| * | stable to defaultSimon MacMullen2014-09-1265-1125/+2783
| |\ \
| * \ \ Merge bug26368Simon MacMullen2014-09-120-0/+0
| |\ \ \
| * | | | Make sure we don't hang waiting for a node to go down if it went down before ↵Simon MacMullen2014-09-122-10/+31
| |/ / / | | | | | | | | | | | | we became the winner.
* | | | Add crashed queues to the output of "rabbitmqctl list_queues". This is ↵Simon MacMullen2014-09-111-17/+47
| | | | | | | | | | | | | | | | rather fiddly since we need to distinguish between queues which are crashed and those which are deleted in between us checking Mnesia and calling the queue pid. We do this by observing that the deleting queue removes its own Mnesia record, so we can check again and if the record is still there after the pid is down, it must have crashed. But this is still rather fiddly; and I wonder if reifying the crashedness in Mnesia would be cleaner.
* | | | Emit a final event to say we crashed.Simon MacMullen2014-09-111-3/+13
| | | |
* | | | Merge in defaultSimon MacMullen2014-09-112-10/+48
|\ \ \ \ | |_|/ / |/| | |
| * | | Show down queues in "rabbitmqctl list_queues"Simon MacMullen2014-09-102-10/+48
| | |/ | |/|
* | | Merge bug21446Simon MacMullen2014-09-1120-185/+355
|\ \ \ | |/ / |/| |
| * | You should be able to delete a vhost containing a crashed queue too.bug21446Simon MacMullen2014-09-111-4/+3
| | |
| * | Improve commentsSimon MacMullen2014-09-112-5/+6
| | |
| * | Merge in default (no-op)Simon MacMullen2014-09-1020-182/+352
| |\ \ |/ / /
| * | Restart exclusive queues correctly, update comment.Simon MacMullen2014-09-102-46/+46
| | |
| * | Further reduce distance to default (especially in slave), by getting the ↵Simon MacMullen2014-09-105-62/+75
| | | | | | | | | | | | prequeue to pass straight into the right module at the end of init/1.
| * | Fix type spec, fix a behaviour warning.Simon MacMullen2014-09-102-4/+7
| | |
| * | Reduce distance to default, especially WRT rabbit_amqqueue_process startup.Simon MacMullen2014-09-093-96/+105
| | |
| * | Minor simplification.Simon MacMullen2014-09-091-7/+2
| | |
| * | OopsSimon MacMullen2014-09-091-1/+1
| | |
| * | Rename slightly and improve comments.Simon MacMullen2014-09-093-14/+16
| | |
| * | OopsSimon MacMullen2014-09-091-1/+1
| | |
| * | OopsSimon MacMullen2014-09-091-1/+1
| | |
| * | CosmeticSimon MacMullen2014-09-091-7/+6
| | |
| * | Introduce the idea that queues can be absent for a reason. The traditional ↵Simon MacMullen2014-09-098-37/+84
| | | | | | | | | | | | | | | | | | absent reason is 'nodedown' and we have a new reason, 'crashed', for when crash recovery has failed and the supervisor has given up. An absent crashed queue is nearly the same as an absent nodedown queue, but we allow for deleting it since it can't be recovered by bringing a node back up. Currently absent crashed queues are not handled properly by mgmt (they appear to still be there); we might defer that to bug 26151.
| * | Try to be consistent.Simon MacMullen2014-09-092-2/+3
| | |
| * | SpecSimon MacMullen2014-09-081-1/+4
| | |
| * | Merge in default.Simon MacMullen2014-09-087-34/+59
| |\ \
| * | | Unmislead comment.Simon MacMullen2014-08-211-1/+1
| | | |
| * | | Don't leak supervisors.Simon MacMullen2014-08-211-1/+1
| | | |
| * | | Remove silly race.Simon MacMullen2014-08-211-5/+12
| | | |
| * | | Merge in defaultSimon MacMullen2014-08-205-15/+185
| |\ \ \
| * | | | 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
| | | | |