redis/tests/integration
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
..
aof-race.tcl AOF: run tests with preamble off when it makes sense. 2018-03-25 13:03:38 +02:00
aof.tcl Solaris fixes about tail usage and atomic vars. 2017-02-22 13:08:21 +01:00
block-repl.tcl Slave removal: remove slave from integration tests descriptions. 2018-09-11 15:32:28 +02:00
convert-zipmap-hash-on-load.tcl convert-zipmap-hash-on-load false positive fixed. 2012-03-25 11:02:16 +02:00
logging.tcl Added regression test for issue #2371. 2015-02-10 14:40:27 +01:00
psync2-reg.tcl Slave removal: remove slave from integration tests descriptions. 2018-09-11 15:32:28 +02:00
psync2.tcl make replication tests more stable on slow machines 2019-05-05 08:25:01 +03:00
rdb.tcl minor fix in creating a stream NACK for rdb and defrag tests 2018-06-27 15:34:17 +03:00
redis-cli.tcl Use fstat to detect if stdin was redirected 2010-08-25 14:48:50 +02:00
replication-2.tcl Slave removal: remove slave from integration tests descriptions. 2018-09-11 15:32:28 +02:00
replication-3.tcl Slave removal: remove slave from integration tests descriptions. 2018-09-11 15:32:28 +02:00
replication-4.tcl diskless replication on slave side (don't store rdb to file), plus some other related fixes 2019-07-08 15:37:48 +03:00
replication-psync.tcl diskless replication on slave side (don't store rdb to file), plus some other related fixes 2019-07-08 15:37:48 +03:00
replication.tcl diskless replication on slave side (don't store rdb to file), plus some other related fixes 2019-07-08 15:37:48 +03:00