redis/tests
antirez eab865a0a1 PSYNC2: stop sending newlines to sub-slaves when master is down.
This actually includes two changes:

1) No newlines to take the master-slave link up when the upstream master
is down. Doing this is dangerous because the sub-slave often is received
replication protocol for an half-command, so can't receive newlines
without desyncing the replication link, even with the code in order to
cancel out the bytes that PSYNC2 was using. Moreover this is probably
also not needed/sane, because anyway the slave can keep serving
requests, and because if it's configured to don't serve stale data, it's
a good idea, actually, to break the link.

2) When a +CONTINUE with a different ID is received, we now break
connection with the sub-slaves: they need to be notified as well. This
was part of the original specification but for some reason it was not
implemented in the code, and was alter found as a PSYNC2 bug in the
integration testing.
2016-11-28 17:54:04 +01:00
..
assets Test: enable latency monitor in the default config. 2014-07-10 15:04:34 +02:00
cluster Cluster test 12: reshard back just a few slots to speedup the test. 2016-05-05 11:57:49 +02:00
helpers Regression test for issue 417 (memory leak when replicating to DB with id >= 10) 2012-03-30 10:26:07 +02:00
integration PSYNC2: stop sending newlines to sub-slaves when master is down. 2016-11-28 17:54:04 +01:00
sentinel Sentinel: new test unit 07 that tests master down conditions. 2016-07-22 16:39:26 +02:00
support various cleanups and minor fixes 2016-04-25 16:49:57 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Test: WAIT tests added in wait.tcl unit. 2016-11-18 13:10:29 +01:00
instances.tcl Test: Handle LOADING in restart_instance. 2016-01-15 16:50:35 +01:00
test_helper.tcl Test: WAIT tests added in wait.tcl unit. 2016-11-18 13:10:29 +01:00