mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 11:05:49 +03:00
3eab76ad43
For direct TCP connections we need the master to relay REMOTE_SERVER_UP commands to the other connections so that all instances get notified about it. The old implementation just relayed to all connections, assuming that sending back to the original sender of the command was safe. This is not true for redis, where commands sent get echoed back to the sender, which was causing master to effectively infinite loop sending and then re-receiving REMOTE_SERVER_UP commands that it sent. The fix is to ensure that we only relay to *other* connections and not to the connection we received the notification from. Fixes #7334.
1 line
67 B
Gherkin
1 line
67 B
Gherkin
Add support for running replication over Redis when using workers.
|