There will be a certain delay in the synchronization between the master and backup, but the synchronization is not performed after the role switch. Therefore, the new master can provide services immediately after the role switch, but the data may be missing for a certain period of time (due to synchronization Caused by delays), but the new owner can also be allowed to provide services after complete synchronization, which will cause the service to be unavailable for a period of time. I don’t understand what is the keepalive solution for redis cluster. The above is just my personal opinion.
Master/slave are not synchronized in real time
There will be a certain delay in the synchronization between the master and backup, but the synchronization is not performed after the role switch. Therefore, the new master can provide services immediately after the role switch, but the data may be missing for a certain period of time (due to synchronization Caused by delays), but the new owner can also be allowed to provide services after complete synchronization, which will cause the service to be unavailable for a period of time.
I don’t understand what is the keepalive solution for redis cluster. The above is just my personal opinion.