summaryrefslogtreecommitdiff
path: root/src/ae_select.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-11-10 12:35:29 +0100
committerantirez <antirez@gmail.com>2016-11-10 12:35:29 +0100
commit28c96d73b2e157a37465560bc421280d17005708 (patch)
tree0843c6a1f22c38815eff7ab0638999ad8f5789a2 /src/ae_select.c
parent4e5e366ed265f2571124edfa9c2f9eaa0d450c45 (diff)
downloadredis-psync2.tar.gz
PSYNC2: Save replication ID/offset on RDB file.psync2
This means that stopping a slave and restarting it will still make it able to PSYNC with the master. Moreover the master itself will retain its ID/offset, in case it gets turned into a slave, or if a slave will try to PSYNC with it with an exactly updated offset (otherwise there is no backlog). This change was possible thanks to PSYNC v2 that makes saving the current replication state much simpler.
Diffstat (limited to 'src/ae_select.c')
0 files changed, 0 insertions, 0 deletions