summary refs log tree commit diff
path: root/synapse/replication/tcp/protocol.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-03-28 18:31:17 +0000
committerGitHub <noreply@github.com>2019-03-28 18:31:17 +0000
commitd688a51736796d88f1dd72930869bbbabefbeeb5 (patch)
tree7b8a6a32d838132d3ed6e3fc87abffcd5a2b8756 /synapse/replication/tcp/protocol.py
parentremove log line for password (#4965) (diff)
parentMerge remote-tracking branch 'origin/develop' into rav/refactor_parse_row (diff)
downloadsynapse-d688a51736796d88f1dd72930869bbbabefbeeb5.tar.xz
Merge pull request #4954 from matrix-org/rav/refactor_parse_row
Refactors to replication stream row update/parsing
Diffstat (limited to 'synapse/replication/tcp/protocol.py')
-rw-r--r--synapse/replication/tcp/protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/protocol.py b/synapse/replication/tcp/protocol.py
index 02e5bf6cc8..9daec2c995 100644
--- a/synapse/replication/tcp/protocol.py
+++ b/synapse/replication/tcp/protocol.py
@@ -605,7 +605,7 @@ class ClientReplicationStreamProtocol(BaseReplicationStreamProtocol):
         inbound_rdata_count.labels(stream_name).inc()
 
         try:
-            row = STREAMS_MAP[stream_name].ROW_TYPE(*cmd.row)
+            row = STREAMS_MAP[stream_name].parse_row(cmd.row)
         except Exception:
             logger.exception(
                 "[%s] Failed to parse RDATA: %r %r",