When redis master and slave Synchronize, the save assignment is turned off, but the rdb file is still updated all the time.

The

scenario is a simple master-slave copy. I turn off all the save instructions of the master Redis and turn on aof. But I found that the main Redis still generates rdb files and updates them all the time.
my current understanding is that the master Redis will only do full Synchronize to generate a rdb file only once when the Synchronize is first mounted from the Redis, or when a new slave Redis is mounted. The subsequent should only be command-level incremental Synchronize, the rdb file will not be updated, but. At present, it doesn"t seem to be what I thought. I wonder if you can give us some advice. Now I have come to the conclusion that as long as you open the master and slave, there is no way to shut down the rdb?

clipboard.png
save

clipboard.png

rdb_last_save_time ll

clipboard.png

clipboard.png
what the heck is this?

Mar.12,2021

Master-slave Synchronize is based on rdb file. If master-slave Synchronize is enabled, it will be automatically generated by default even if you do not open rdb, otherwise you cannot carry out data Synchronize!

Menu