Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deflake Replication backlog memory will become smaller if disconnecting
with replica fails due to "master didn't disconnect with replica2" Chain of events 1. replica 1 synced 2. replica 2 disconnected 3. replica 2 need fsync 4. rdb connection created 5. replica 2 paused 6. write large key to master 7. replica 2 gets cob overrun 8. replica 2 connection is kept connected although replica is unresponsive. State 8 is healthy as the master has long repl-timeout. It should only throw replica2 psync connection. Signed-off-by: naglera <[email protected]>
- Loading branch information