diff options
author | Erik Johnston <erik@matrix.org> | 2020-04-07 11:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 11:01:04 +0100 |
commit | ce72355d7f67a986d60a7d86489b1b40f93fb152 (patch) | |
tree | 9d562fd0a9d98d6ce1eb96c1e837008d43c61ec2 /synapse/replication/tcp/streams | |
parent | Move server command handling out of TCP protocol (#7187) (diff) | |
download | synapse-ce72355d7f67a986d60a7d86489b1b40f93fb152.tar.xz |
Fix race in replication (#7226)
Fixes a race between handling `POSITION` and `RDATA` commands. We do this by simply linearizing handling of them.
Diffstat (limited to 'synapse/replication/tcp/streams')
-rw-r--r-- | synapse/replication/tcp/streams/_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/tcp/streams/_base.py b/synapse/replication/tcp/streams/_base.py |