diff options
author | Erik Johnston <erikj@matrix.org> | 2023-10-23 14:39:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 13:39:25 +0000 |
commit | 3bc23cc45cb6a70d53ba4032a9116029bc4f538c (patch) | |
tree | ad097de2bca816d15921013fb7490390acf34ffe | |
parent | Mention how to redirect the Jaeger traces to a specific Jaeger instance (#16531) (diff) | |
download | synapse-3bc23cc45cb6a70d53ba4032a9116029bc4f538c.tar.xz |
Fix bug that could cause a `/sync` to tightloop with sqlite after restart (#16540)
This could happen if the last rows in the account data stream were inserted into `account_data`. After a restart the max account ID would be calculated without looking at the `account_data` table, and so have an old ID.
-rw-r--r-- | changelog.d/16540.bugfix | 1 | ||||
-rw-r--r-- | synapse/storage/databases/main/account_data.py | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/changelog.d/16540.bugfix b/changelog.d/16540.bugfix new file mode 100644 |