mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 05:40:58 +00:00
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 line
130 B
Text
1 line
130 B
Text
Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting.
|