Update slave's Reploff to repl_master_initial_OFFSET after asynchronous reading of RDB
Repl_master_initial_offset is a global replication offset returned to slave before the master server generates the RDB snapshot
How do you make sure that the previous commands of repl_master_initial_OFFSET are all synchronized into the RDB snapshot? Because I found that the snapshot might read one that was already being generated.
Otherwise, the value of the master and slave will not be consistent.
Comment From: oranagra
@dayuange123 i don't think i understand what you're asking. maybe it would help if you post an example of a chain of events that leads to a problem?