summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-02-10 10:52:35 +0100
committerGitHub <noreply@github.com>2023-02-10 09:52:35 +0000
commitfd296b7343f2e557519f1ec81325ad836bcbdbf9 (patch)
treeb33cccec5a55b3452d56f51217cbf3d73afa423a
parentTag federation request spans with the worker name (#15042) (diff)
downloadsynapse-fd296b7343f2e557519f1ec81325ad836bcbdbf9.tar.xz
Fix exception on start up about device lists (#15041)
Fixes #15010.
-rw-r--r--changelog.d/15041.misc1
-rw-r--r--synapse/storage/databases/main/devices.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/15041.misc b/changelog.d/15041.misc
new file mode 100644
index 0000000000..d602b0043a
--- /dev/null
+++ b/changelog.d/15041.misc
@@ -0,0 +1 @@
+Fix a rare exception in logs on start up.
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py
index e8b6cc6b80..766c2052fb 100644
--- a/synapse/storage/databases/main/devices.py
+++ b/synapse/storage/databases/main/devices.py
@@ -100,6 +100,7 @@ class DeviceWorkerStore(RoomMemberWorkerStore, EndToEndKeyWorkerStore):
                 ("device_lists_outbound_pokes", "stream_id"),
                 ("device_lists_changes_in_room", "stream_id"),
                 ("device_lists_remote_pending", "stream_id"),
+                ("device_lists_changes_converted_stream_position", "stream_id"),
             ],
             is_writer=hs.config.worker.worker_app is None,
         )