| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | merge default | Francesco Mazzoli | 2012-09-04 | 7 | -110/+222 |
| |\ | |||||
| | * | merge bug25119 | Francesco Mazzoli | 2012-09-04 | 4 | -44/+73 |
| | |\ | |||||
| | | * | Merge bug 25120. | Simon MacMullen | 2012-09-04 | 3 | -4/+42 |
| | | |\ | |||||
| | | | * | explain | Matthias Radestock | 2012-09-03 | 2 | -3/+9 |
| | | | | | |||||
| | | | * | attempt to close ssl connections gracefully but forcefully | Matthias Radestock | 2012-09-03 | 3 | -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 bug25119 | Francesco Mazzoli | 2012-09-04 | 1 | -40/+31 |
| | | |\ \ | | | |/ | |||||
| | | | * | minor refactoring and cosmetics | Matthias Radestock | 2012-08-31 | 1 | -40/+31 |
| | | | | | |||||
| | * | | | refactor tests | Tim Watson | 2012-09-04 | 1 | -29/+26 |
| | |/ / | |||||
| | * | | cosmetics | Francesco Mazzoli | 2012-09-04 | 1 | -2/+2 |
| | | | | |||||
| | * | | rework tests for most simple case of child termination | Tim Watson | 2012-09-04 | 2 | -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, cosmetics | Francesco Mazzoli | 2012-09-03 | 1 | -2/+1 |
| | | | | |||||
| | * | | cosmetics! | Francesco Mazzoli | 2012-09-03 | 1 | -2/+2 |
| | | | | |||||
| | * | | cosmetics | Francesco Mazzoli | 2012-09-03 | 1 | -5/+5 |
| | | | | |||||
| | * | | cosmetic (again) | Tim Watson | 2012-09-03 | 1 | -7/+7 |
| | | | | |||||
| | * | | cosmetic | Tim Watson | 2012-09-03 | 1 | -44/+3 |
| | |\ \ | |||||
| | | * | | remove useless test case | Tim Watson | 2012-09-03 | 1 | -44/+3 |
| | | | | | |||||
| | * | | | cosmetics | Francesco Mazzoli | 2012-09-03 | 1 | -1/+1 |
| | |/ / | |||||
| | * | | oops | Tim Watson | 2012-09-03 | 1 | -33/+0 |
| | | | | |||||
| | * | | cosmetic | Tim Watson | 2012-09-03 | 1 | -27/+60 |
| | | | | |||||
| | * | | construct child exit reason in the right place | Tim Watson | 2012-09-03 | 1 | -1/+2 |
| | | | | |||||
| | * | | cosmetic | Tim Watson | 2012-09-03 | 1 | -2/+1 |
| | | | | |||||
| | * | | Introduce additional, non-smp tests (using suspend) and explode the test | Tim Watson | 2012-09-03 | 1 | -7/+54 |
| | | | | | | | | | | | | | fixture list to create 400 repetitions of the group | ||||
| | * | | Test that simple_one_for_one_terminate shutdowns no longer deadlock and | Tim Watson | 2012-09-03 | 3 | -1/+103 |
| | | | | | | | | | | | | | handle reporting errors not caught during shutdown (e.g., 'killed' pids) | ||||
| | * | | refactor | Matthias Radestock | 2012-08-30 | 1 | -17/+11 |
| | | | | | | | | | | | | | and always prefer the EXIT reason | ||||
| | * | | when terminating multiple simple children, we shouldn't rely on the order of ↵ | Tim Watson | 2012-08-30 | 1 | -11/+19 |
| | |/ | | | | | | | 'EXIT' vs 'DOWN' messages | ||||
| * | | remove differences with default | Francesco Mazzoli | 2012-09-04 | 1 | -10/+12 |
| | | | |||||
| * | | track the delta of the depths, and replace `pending_ack' with `depth' in BQ | Francesco Mazzoli | 2012-09-04 | 4 | -71/+52 |
| | | | | | | | | | The kill-multi test is still failing... | ||||
| * | | was getting `set_length' instead of `drop' | Francesco Mazzoli | 2012-09-04 | 1 | -1/+1 |
| | | | |||||
| * | | fix depth delta in the `publish' instruction | Francesco Mazzoli | 2012-09-04 | 1 | -1/+1 |
| | | | |||||
| * | | forgot debug line in | Francesco Mazzoli | 2012-09-03 | 1 | -1/+0 |
| | | | |||||
| * | | store the depth of master and slave instead of the unknown pending msgs | Francesco Mazzoli | 2012-09-03 | 2 | -69/+92 |
| | | | |||||
| * | | refactoring: make the var match the field | Matthias Radestock | 2012-08-31 | 1 | -8/+7 |
| | | | |||||
| * | | refactoring: inline helper function | Matthias Radestock | 2012-08-31 | 1 | -24/+25 |
| | | | |||||
| * | | cosmetic | Matthias Radestock | 2012-08-31 | 1 | -3/+2 |
| | | | |||||
| * | | style | Francesco Mazzoli | 2012-08-31 | 1 | -5/+3 |
| | | | |||||
| * | | revert `set_synchronized' => `update_unknown_pending' | Francesco Mazzoli | 2012-08-31 | 1 | -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 Mazzoli | 2012-08-31 | 1 | -22/+22 |
| | | | |||||
| * | | `set_length' => `drop' | Francesco Mazzoli | 2012-08-31 | 1 | -2/+2 |
| | | | |||||
| * | | `external_pending' => `unknown_pending' | Francesco Mazzoli | 2012-08-31 | 1 | -6/+9 |
| | | | |||||
| * | | use `set_synchronized' instead than manually increasing | Francesco Mazzoli | 2012-08-31 | 1 | -6/+2 |
| | | | |||||
| * | | simplify `set_length' case, fixing the ToDrop < 0 branch | Francesco Mazzoli | 2012-08-31 | 1 | -20/+16 |
| | | | | | | | | | The unknown pending counter wasn't updated correctly | ||||
| * | | add the delta in `set_synchronized', fixes the call in `set_length' | Francesco Mazzoli | 2012-08-31 | 1 | -3/+3 |
| | | | |||||
| * | | `set_synchronized' accepts the difference instead of separate args | Francesco Mazzoli | 2012-08-31 | 1 | -7/+7 |
| | | | |||||
| * | | do not track external pendings until we receive `length' | Francesco Mazzoli | 2012-08-31 | 1 | -2/+7 |
| | | | | | | | | | Otherwise, we might break some assertions. | ||||
| * | | actually, it looks like the slave might receive messages before `length' | Francesco Mazzoli | 2012-08-31 | 1 | -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 that | Francesco Mazzoli | 2012-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | get the external pending acks at the beginning | Francesco Mazzoli | 2012-08-31 | 2 | -5/+7 |
| | | | |||||
| * | | add a callback to backing queue to get the number of pending acks | Francesco Mazzoli | 2012-08-31 | 3 | -7/+17 |
| | | | |||||
| * | | matthias doesn't like the nested `set_synchronised' :( | Francesco Mazzoli | 2012-08-30 | 1 | -20/+18 |
| | | | |||||
| * | | take into account requeues when setting synch state for slaves | Francesco Mazzoli | 2012-08-30 | 2 | -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. | ||||
