summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cosmeticMatthias Radestock2012-09-051-4/+2
|
* Also exclude DeadNodes from the list of new nodes to start mirrors on; we ↵Simon MacMullen2012-09-051-1/+1
| | | | have checked for running_clustered_nodes() but that could be out of date.
* Cosmetic: give that comment room to breath.Simon MacMullen2012-09-051-20/+21
|
* Call add_mirror/2 before drop_mirror/2, and explain why.Simon MacMullen2012-09-051-1/+11
|
* GahSimon MacMullen2012-09-052-4/+2
|
* No we don't. The point is that if a mirror is dropping out of the queue, ↵Simon MacMullen2012-09-052-2/+0
| | | | does it need to explicitly leave the GM group? The answer is no: the master is linked to the coordinator is linked to the GM / the slave is linked to the GM.
* Add specs, remove misleading "%% temp" comment.Simon MacMullen2012-09-053-9/+15
|
* Reduce difference to defaultSimon MacMullen2012-09-051-3/+3
|
* merge default into bug24908Matthias Radestock2012-09-049-136/+262
|\
| * more reification, plus cosmeticsMatthias Radestock2012-09-041-18/+13
| |
| * Reify a touch more.Simon MacMullen2012-09-041-5/+6
| |
| * Suggest queue nodes based on running nodes, otherwise (at the very least) we ↵Simon MacMullen2012-08-231-1/+2
| | | | | | | | can immediately try to start a mirror on a node that has just gone down.
| * Fix broken mergeSimon MacMullen2012-08-231-2/+2
| |
| * s/at-least/exactly/gSimon MacMullen2012-08-222-12/+12
| |
| * Merge defaultSimon MacMullen2012-08-2110-173/+169
| |\
| * | at-least mode can imply that we need to start slaves in response to slaves ↵Simon MacMullen2012-08-171-10/+30
| | | | | | | | | | | | dying elsewhere. So do that.
| * | Merge defaultSimon MacMullen2012-08-159-125/+234
| |\ \
| | * | Reify something that was previously a little bit magic.Simon MacMullen2012-08-072-6/+13
| | | |
| | * | Support changing master (umm, which actually turned out to be a lot easier ↵Simon MacMullen2012-08-071-10/+7
| | | | | | | | | | | | | | | | than expected, thanks Matthew).
| | * | Take account of the current nodes when selecting new nodes, and some unit ↵Simon MacMullen2012-08-072-29/+70
| | | | | | | | | | | | | | | | tests for the node selection logic.
| | * | Merge in defaultSimon MacMullen2012-08-078-120/+184
| | |\ \
| | | * | Various fixes.Simon MacMullen2012-07-092-17/+9
| | | | |
| | | * | Merge bug25048Simon MacMullen2012-07-098-123/+195
| | | |\ \
| | | | * \ Merge bug25048Simon MacMullen2012-07-098-123/+195
| | | | |\ \
| | | | | * | Dynamic change of HA policy. Promotion from non-HA to master, and demotion ↵Simon MacMullen2012-07-065-32/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | from master to non-HA as appropriate. There will still be problems if the policy changes such that the master needs to change - I'm not sure we should even allow this.
| | | | | * | Rename function, remove utter rubbish.Simon MacMullen2012-07-063-15/+15
| | | | | | |
| | | | | * | Rough sketch of dynamic queue HA-ness:Simon MacMullen2012-07-057-92/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove #amqqueue.mirror_nodes, we will always derive this from policy * Remove everything to do with x-ha-* arguments * Abstract a bit more stuff into rabbit_mirror_queue_misc * Add a new "at-least" mode This works! Sort of. Changing policies on the fly, changing HAness altogether, having "at-least" set up a new mirror when one disappears, and probably some other things do not work.
* | | | | | | merge bug25119 into defaultMatthias Radestock2012-09-041-40/+31
|\ \ \ \ \ \ \
| * | | | | | | tweak testMatthias Radestock2012-09-041-40/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - drop eunit - we don't use it elsewhere and it adds little value here - lower the TEST_RUNS * CHILDREN count - no need to run 'kill' part of test with lots of iterations/children - stop on first failed run - on failure, return iteration and exit reason
* | | | | | | | merge bug25119Francesco Mazzoli2012-09-044-44/+73
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Merge bug 25120.Simon MacMullen2012-09-043-4/+42
| |\ \ \ \ \ \ \
| | * | | | | | | explainMatthias Radestock2012-09-032-3/+9
| | | | | | | | |
| | * | | | | | | attempt to close ssl connections gracefully but forcefullyMatthias Radestock2012-09-033-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gracefully...so that there is a good chance of TLS alerts making it through, but forecfully (after a timeout) so we don't get stuck (or worse, silently) holding on to file descriptors and processes.
| * | | | | | | | merge bug25119Francesco Mazzoli2012-09-041-40/+31
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | minor refactoring and cosmeticsMatthias Radestock2012-08-311-40/+31
| | | | | | | | |
* | | | | | | | | refactor testsTim Watson2012-09-041-29/+26
|/ / / / / / / /
* | | | | | | | cosmeticsFrancesco Mazzoli2012-09-041-2/+2
| | | | | | | |
* | | | | | | | rework tests for most simple case of child terminationTim Watson2012-09-042-121/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | increase test coverage for whole of terminate_simple_children fix bug in timeout handling clause of terminate_simple_children cosmetic (trailing whitespace)
* | | | | | | | export only what's necessary, cosmeticsFrancesco Mazzoli2012-09-031-2/+1
| | | | | | | |
* | | | | | | | cosmetics!Francesco Mazzoli2012-09-031-2/+2
| | | | | | | |
* | | | | | | | cosmeticsFrancesco Mazzoli2012-09-031-5/+5
| | | | | | | |
* | | | | | | | cosmetic (again)Tim Watson2012-09-031-7/+7
| | | | | | | |
* | | | | | | | cosmeticTim Watson2012-09-031-44/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | remove useless test caseTim Watson2012-09-031-44/+3
| | | | | | | | |
* | | | | | | | | cosmeticsFrancesco Mazzoli2012-09-031-1/+1
|/ / / / / / / /
* | | | | | | | oopsTim Watson2012-09-031-33/+0
| | | | | | | |
* | | | | | | | cosmeticTim Watson2012-09-031-27/+60
| | | | | | | |
* | | | | | | | construct child exit reason in the right placeTim Watson2012-09-031-1/+2
| | | | | | | |
* | | | | | | | cosmeticTim Watson2012-09-031-2/+1
| | | | | | | |
* | | | | | | | Introduce additional, non-smp tests (using suspend) and explode the testTim Watson2012-09-031-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixture list to create 400 repetitions of the group