失败日志
# 启动
1:S 25 Jan 2022 08:31:54.693 * MASTER <-> REPLICA sync started
1:S 25 Jan 2022 08:31:54.693 * Non blocking connect for SYNC fired the event.
1:S 25 Jan 2022 08:31:54.693 * Master replied to PING, replication can continue...
1:S 25 Jan 2022 08:31:54.693 * Partial resynchronization not possible (no cached master)
1:S 25 Jan 2022 08:31:54.694 * Full resync from master: b9c9d2d98e62a2b2d248aa070e73f4ecc622f7dc:0
1:S 25 Jan 2022 08:31:54.804 * MASTER <-> REPLICA sync: receiving 175 bytes from master to disk
1:S 25 Jan 2022 08:31:54.805 * MASTER <-> REPLICA sync: Flushing old data
1:S 25 Jan 2022 08:31:54.805 * MASTER <-> REPLICA sync: Loading DB in memory
1:S 25 Jan 2022 08:31:54.807 # Failed trying to load the MASTER synchronization DB from disk
# 选举 6.0.8
1:S 25 Jan 2022 08:26:50.300 * MASTER <-> REPLICA sync started
1:S 25 Jan 2022 08:26:50.300 # Error condition on socket for SYNC: Operation now in progress
# 选举 6.2.6
1:S 25 Jan 2022 08:54:51.141 # Error condition on socket for SYNC: Connection refused
1:S 25 Jan 2022 08:54:52.144 * Connecting to MASTER 127.0.0.1:6002
原因怀疑
- 怀疑是window的在进程中不允许对文件操作的问题照成的
问题修复
临时处理的方法