summary refs log tree commit diff
path: root/changelog.d/9770.bugfix
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-04-08 17:30:01 +0100
committerErik Johnston <erik@matrix.org>2021-04-08 17:34:07 +0100
commit3a569fb2000e972efe2e145d57ffd9441ee41665 (patch)
tree61f9e04795cdc020c024a8d9e6216359ad5b2a67 /changelog.d/9770.bugfix
parentRecord more information into structured logs. (#9654) (diff)
downloadsynapse-3a569fb2000e972efe2e145d57ffd9441ee41665.tar.xz
Fix sharded federation sender sometimes using 100% CPU.
We pull all destinations requiring catchup from the DB in batches.
However, if all those destinations get filtered out (due to the
federation sender being sharded), then the `last_processed` destination
doesn't get updated, and we keep requesting the same set repeatedly.
Diffstat (limited to 'changelog.d/9770.bugfix')
-rw-r--r--changelog.d/9770.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9770.bugfix b/changelog.d/9770.bugfix
new file mode 100644
index 0000000000..baf93138de
--- /dev/null
+++ b/changelog.d/9770.bugfix
@@ -0,0 +1 @@
+Fix bug where sharded federation senders could get stuck repeatedly querying the DB in a loop, using lots of CPU.