summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* merge defaultFrancesco Mazzoli2012-09-047-110/+222
|\
| * 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
| * | Test that simple_one_for_one_terminate shutdowns no longer deadlock andTim Watson2012-09-033-1/+103
| | | | | | | | | | | | handle reporting errors not caught during shutdown (e.g., 'killed' pids)
| * | refactorMatthias Radestock2012-08-301-17/+11
| | | | | | | | | | | | and always prefer the EXIT reason
| * | when terminating multiple simple children, we shouldn't rely on the order of ↵Tim Watson2012-08-301-11/+19
| |/ | | | | | | 'EXIT' vs 'DOWN' messages
* | remove differences with defaultFrancesco Mazzoli2012-09-041-10/+12
| |
* | track the delta of the depths, and replace `pending_ack' with `depth' in BQFrancesco Mazzoli2012-09-044-71/+52
| | | | | | | | The kill-multi test is still failing...
* | was getting `set_length' instead of `drop'Francesco Mazzoli2012-09-041-1/+1
| |
* | fix depth delta in the `publish' instructionFrancesco Mazzoli2012-09-041-1/+1
| |
* | forgot debug line inFrancesco Mazzoli2012-09-031-1/+0
| |
* | store the depth of master and slave instead of the unknown pending msgsFrancesco Mazzoli2012-09-032-69/+92
| |
* | refactoring: make the var match the fieldMatthias Radestock2012-08-311-8/+7
| |
* | refactoring: inline helper functionMatthias Radestock2012-08-311-24/+25
| |
* | cosmeticMatthias Radestock2012-08-311-3/+2
| |
* | styleFrancesco Mazzoli2012-08-311-5/+3
| |
* | revert `set_synchronized' => `update_unknown_pending'Francesco Mazzoli2012-08-311-22/+22
| | | | | | | | | | Matthias likes the old names better, arguing that the main purpose of that function is to do that mnesia transaction.
* | `set_synchronized' => `update_unknown_pending'Francesco Mazzoli2012-08-311-22/+22
| |
* | `set_length' => `drop'Francesco Mazzoli2012-08-311-2/+2
| |
* | `external_pending' => `unknown_pending'Francesco Mazzoli2012-08-311-6/+9
| |
* | use `set_synchronized' instead than manually increasingFrancesco Mazzoli2012-08-311-6/+2
| |
* | simplify `set_length' case, fixing the ToDrop < 0 branchFrancesco Mazzoli2012-08-311-20/+16
| | | | | | | | The unknown pending counter wasn't updated correctly
* | add the delta in `set_synchronized', fixes the call in `set_length'Francesco Mazzoli2012-08-311-3/+3
| |
* | `set_synchronized' accepts the difference instead of separate argsFrancesco Mazzoli2012-08-311-7/+7
| |
* | do not track external pendings until we receive `length'Francesco Mazzoli2012-08-311-2/+7
| | | | | | | | Otherwise, we might break some assertions.
* | actually, it looks like the slave might receive messages before `length'Francesco Mazzoli2012-08-311-1/+1
| | | | | | | | | | This is not a problem, since the worse that can happen is that we have a bogus sync state in the until `length' is received.
* | `length' should be the first instructions, lets assert thatFrancesco Mazzoli2012-08-311-1/+1
| |
* | get the external pending acks at the beginningFrancesco Mazzoli2012-08-312-5/+7
| |
* | add a callback to backing queue to get the number of pending acksFrancesco Mazzoli2012-08-313-7/+17
| |
* | matthias doesn't like the nested `set_synchronised' :(Francesco Mazzoli2012-08-301-20/+18
| |
* | take into account requeues when setting synch state for slavesFrancesco Mazzoli2012-08-302-58/+65
|/ | | | | | | | | | | | | | | | To do this, keep count all the fetches we've seen that require an ack for messages we don't have (e.g. when the queue we have is shorter than on the master). We then decrease this counter appropriately when requeueing, acking, and set_length'ing. Given this, we can deem the slave synced only when the length is the same *and* the counter described above is 9 - there are no pending acks on the master for messages we don't have. I might have missed something (I barely tested this) but it seems to do the trick.