redict/tests
Oran Agra 2de544cfcc diskless replication on slave side (don't store rdb to file), plus some other related fixes
The implementation of the diskless replication was currently diskless only on the master side.
The slave side was still storing the received rdb file to the disk before loading it back in and parsing it.

This commit adds two modes to load rdb directly from socket:
1) when-empty
2) using "swapdb"
the third mode of using diskless slave by flushdb is risky and currently not included.

other changes:
--------------
distinguish between aof configuration and state so that we can re-enable aof only when sync eventually
succeeds (and not when exiting from readSyncBulkPayload after a failed attempt)
also a CONFIG GET and INFO during rdb loading would have lied

When loading rdb from the network, don't kill the server on short read (that can be a network error)

Fix rdb check when performed on preamble AOF

tests:
run replication tests for diskless slave too
make replication test a bit more aggressive
Add test for diskless load swapdb
2019-07-08 15:37:48 +03:00
..
assets Fix test "server is up" detection after logging changes. 2016-12-19 16:49:58 +01:00
cluster cluster.tcl: Add master consecutively down test. 2018-06-30 09:29:35 +08:00
helpers Test: fix blocking lists/zsets replication test. 2018-05-15 17:43:41 +02:00
integration diskless replication on slave side (don't store rdb to file), plus some other related fixes 2019-07-08 15:37:48 +03:00
modules Add runtest-moduleapi with commandfilter coverage. 2019-03-24 12:03:03 +02:00
sentinel Correct "did not received" -> "did not receive" typos/grammar. 2018-08-26 14:45:39 +02:00
support diskless replication on slave side (don't store rdb to file), plus some other related fixes 2019-07-08 15:37:48 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Implement SCAN cursor [TYPE type] modifier suggested in issue #6107. 2019-05-22 16:39:04 +01:00
instances.tcl Correct spelling of "faield". 2017-08-12 22:21:03 -07:00
test_helper.tcl test cases: skiptill -> skip-till 2019-05-10 16:27:25 +08:00