summaryrefslogtreecommitdiff
path: root/src/rabbit_mirror_queue_misc.erl
Commit message (Collapse)AuthorAgeFilesLines
* merge bug25418 into defaultTim Watson2013-02-201-3/+24
|\
| * Auto sync when policy changes to require it, in case we are already mirrored ↵bug25418Simon MacMullen2013-02-131-7/+11
| | | | | | | | but have unsynced slaves at that point.
| * First pass at ha-sync-mode.Simon MacMullen2013-02-111-4/+21
| |
* | TypoSimon MacMullen2013-02-151-1/+1
| |
* | remove icky use of element/2bug25247Matthias Radestock2013-02-121-4/+5
| |
* | Tweak nodes policy to allow master removal and thus queue migrationSimon MacMullen2013-02-121-19/+30
|/
* Update copyright 2013bug25343Emile Joubert2013-01-231-1/+1
|
* Useful guard.Simon MacMullen2012-11-211-1/+1
|
* Don't try to assert result of {add,drop}_mirror.Simon MacMullen2012-11-211-11/+3
|
* cosmeticMatthias Radestock2012-11-161-2/+2
|
* Merge in defaultbug25251Simon MacMullen2012-11-131-2/+2
|\
| * merge default into bug25164Matthias Radestock2012-10-311-1/+1
| |\
| * \ Merged bug25236 into defaultEmile Joubert2012-10-291-3/+4
| |\ \
| | * | Yet another way in which add_mirror / drop_mirror "failing" can be OK really.bug25236Simon MacMullen2012-10-261-3/+4
| | | |
* | | | Remove if_mirrored_queue/2, it's not buying us anything in terms of avoiding ↵Simon MacMullen2012-10-291-10/+2
|/ / / | | | | | | | | | races.
* | | Since bug 25243 we can never have the situation described in that comment - ↵Simon MacMullen2012-10-291-8/+1
|/ / | | | | | | so remove the extra call to update_mirrors0/2 and get start_mirroring to start the mirrors itself. I think this is clearer.
* | If the current master is currently not in the nodes specified, act like it ↵bug25243Simon MacMullen2012-10-241-1/+5
|/ | | | is for the purposes of suggested_queue_nodes - otherwise we will not return it in the results.
* Cosmetic + show non-string nodes params + display "none" when params missing.Simon MacMullen2012-10-221-4/+6
|
* As far as I could tell validation for "exactly" was completely broken. ↵Simon MacMullen2012-10-161-23/+16
| | | | Remove attempt at abstraction. Also validate that mode=all does *not* have any params.
* Merge defaultSimon MacMullen2012-10-161-1/+48
|\
| * RefactorSimon MacMullen2012-10-161-22/+22
| |
| * Refactor a little bit. And they're Keys, not Tags.Simon MacMullen2012-10-161-1/+1
| |
| * Duplicate duplicate detectionEmile Joubert2012-10-121-2/+0
| |
| * Remove hints, spacesEmile Joubert2012-10-121-1/+1
| |
| * Parameter API renaming and policy tweaksEmile Joubert2012-10-111-1/+1
| |
| * Policy interface updatesEmile Joubert2012-10-101-1/+1
| |
| * Stricter HA validationEmile Joubert2012-10-091-15/+20
| |
| * Policy validation updatesEmile Joubert2012-10-081-1/+1
| |
| * Updated policy validationEmile Joubert2012-10-051-1/+45
| |
* | cosmeticMatthias Radestock2012-10-161-4/+2
| |
* | one less place to equate mirrors with nodesMatthias Radestock2012-10-161-6/+5
| |
* | cosmeticbug25202Matthias Radestock2012-10-161-1/+0
| |
* | We don't need the 'existing' records, and without them we don't need to ↵Simon MacMullen2012-10-161-3/+3
| | | | | | | | compare GMPids for sameness.
* | simplifyMatthias Radestock2012-10-161-4/+1
| |
* | merge default into bug25202Matthias Radestock2012-10-161-1/+11
|\ \ | | | | | | | | | | | | ...and in the process inline mq_slave:forget_slave and fix a bug in it (it was looking at the wrong element of the tuple)
| * \ Merge in defaultSimon MacMullen2012-10-121-43/+38
| |\ \
| * | | R12B-3 compatibility.Simon MacMullen2012-10-081-1/+2
| | | |
| * | | That wasn't actually very randomSimon MacMullen2012-10-041-0/+1
| | | |
| * | | ClearerSimon MacMullen2012-10-041-2/+2
| | | |
| * | | Shuffle candidate nodes when we want to add some in "exactly" mode.Simon MacMullen2012-10-041-1/+9
| | |/ | |/|
* | | Make sure we update Mnesia when only the gm_pids have changed (i.e. we are ↵Simon MacMullen2012-10-101-1/+1
| | | | | | | | | | | | cleaning up a spare GM pid from when we found an existing slave at startup).
* | | Merge in default.Simon MacMullen2012-10-101-37/+32
|\ \ \ | | |/ | |/|
| * | Fix spec broken by bug 25212Simon MacMullen2012-10-101-1/+2
| | |
| * | Remove debugging code.Simon MacMullen2012-10-081-5/+2
| | |
| * | WIPSimon MacMullen2012-10-081-35/+33
| | |
* | | Merge in bug25195.Simon MacMullen2012-10-101-6/+17
|\ \ \ | |/ / |/| |
| * | Progress towards storing a GM pid -> queue pid mapping. This is dependent on ↵Simon MacMullen2012-10-031-6/+17
| |/ | | | | | | not feeding the process_death message into remove_from_queue - bug 25195 suggests this might be TRTTD.
* | Don't fail if the queue is already mirrored, tweak return values a bit.bug25212Simon MacMullen2012-10-051-8/+7
|/
* Don't throw, rabbit_amqqueue:with/2 will eat it.Simon MacMullen2012-09-281-1/+1
|
* Ignore if the node is down.Simon MacMullen2012-09-281-1/+9
|