Skip to content
Snippets Groups Projects
Unverified Commit 20fb08ec authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Downgrade repl stream time out error to warning (#16401)

This is because if a worker reaches ~100% CPU then everything starts
lagging and we hit the log line a lot. When at error we invoke sentry
and that has a lot of overhead, which then puts even more pressure on
the worker.
parent 79eb6c0c
No related branches found
No related tags found
No related merge requests found
Downgrade replication stream time out error log lines to warning.
...@@ -339,7 +339,7 @@ class ReplicationDataHandler: ...@@ -339,7 +339,7 @@ class ReplicationDataHandler:
try: try:
await make_deferred_yieldable(deferred) await make_deferred_yieldable(deferred)
except defer.TimeoutError: except defer.TimeoutError:
logger.error( logger.warning(
"Timed out waiting for repl stream %r to reach %s (%s)" "Timed out waiting for repl stream %r to reach %s (%s)"
"; currently at: %s", "; currently at: %s",
stream_name, stream_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment