Skip to content

Commit e2e2fc3

Browse files
erikjohnstonphil-flex
authored andcommitted
Fix Redis reconnection logic (matrix-org#7482)
Proactively send out `POSITION` commands (as if we had just received a `REPLICATE`) when we connect to Redis. This is important as other instances won't notice we've connected to issue a `REPLICATE` command (unlike for direct TCP connections). This is only currently an issue if master process reconnects without restarting (if it restarts then it won't have written anything and so other instances probably won't have missed anything).
1 parent d826688 commit e2e2fc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

changelog.d/7482.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting.

0 commit comments

Comments
 (0)