redict/tests/cluster
Wang Yuan b55a827ea2
Backup keys to slots map and restore when fail to sync if diskless-load type is swapdb in cluster mode (#8108)
When replica diskless-load type is swapdb in cluster mode, we didn't backup
keys to slots map, so we will lose keys to slots map if fail to sync.
Now we backup keys to slots map at first, and restore it properly when fail.

This commit includes a refactory/cleanup of the backups mechanism (moving it to db.c and re-structuring it a bit).

Co-authored-by: Oran Agra <oran@redislabs.com>
2020-12-02 13:56:11 +02:00
..
tests Backup keys to slots map and restore when fail to sync if diskless-load type is swapdb in cluster mode (#8108) 2020-12-02 13:56:11 +02:00
tmp Cluster test: add tmp dir to Git repo. 2014-05-26 18:08:12 +02:00
cluster.tcl Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702) 2020-08-04 18:00:58 +03:00
run.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00