summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-05-05 21:07:33 +0200
committerGitHub <noreply@github.com>2020-05-05 21:07:33 +0200
commit5b8023dc7f31dbd682e93bd4d82655f70f5f19f5 (patch)
tree3a1edca60d043e6af29afd2bd7c001af747923f8
parentAdd backwards compatibility codepath to LoggingContext. (#7408) (diff)
downloadsynapse-5b8023dc7f31dbd682e93bd4d82655f70f5f19f5.tar.xz
Move logs about discarded RDATA to debug (#7421)
Diffstat (limited to '')
-rw-r--r--changelog.d/7421.misc1
-rw-r--r--synapse/replication/tcp/handler.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7421.misc b/changelog.d/7421.misc
new file mode 100644
index 0000000000..676f285377
--- /dev/null
+++ b/changelog.d/7421.misc
@@ -0,0 +1 @@
+Move catchup of replication streams logic to worker.
diff --git a/synapse/replication/tcp/handler.py b/synapse/replication/tcp/handler.py
index 2d1d119c7c..bf4f1a5949 100644
--- a/synapse/replication/tcp/handler.py
+++ b/synapse/replication/tcp/handler.py
@@ -262,7 +262,7 @@ class ReplicationCommandHandler:
                 # `POSITION` command yet, and so we may have missed some rows.
                 # Let's drop the row for now, on the assumption we'll receive a
                 # `POSITION` soon and we'll catch up correctly then.
-                logger.warning(
+                logger.debug(
                     "Discarding RDATA for unconnected stream %s -> %s",
                     stream_name,
                     cmd.token,