summary refs log tree commit diff
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-11-11 16:01:13 +0100
committerGitHub <noreply@github.com>2021-11-11 15:01:13 +0000
commit48278a0d09c19f008910b10ec5922327c09533f2 (patch)
tree5ae19129a32e018283e9329a3845e2b69528c9f2
parentAdd type hints to some storage classes (#11307) (diff)
downloadsynapse-48278a0d09c19f008910b10ec5922327c09533f2.tar.xz
Move sql file for `remove_deleted_devices_from_device_inbox` into v65 (#11303)
-rw-r--r--changelog.d/11303.misc1
-rw-r--r--synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql (renamed from synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql)2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11303.misc b/changelog.d/11303.misc
new file mode 100644
index 0000000000..50af92bfa5
--- /dev/null
+++ b/changelog.d/11303.misc
@@ -0,0 +1 @@
+Fix an issue which prevented the 'remove deleted devices from device_inbox column' background process from running when updating from a recent Synapse version.
diff --git a/synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql b/synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql
index fca7290741..076179123d 100644
--- a/synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql
+++ b/synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql
@@ -19,4 +19,4 @@
 -- This runs as background task, but may take a bit to finish.
 
 INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
-  (6402, 'remove_deleted_devices_from_device_inbox', '{}');
+  (6505, 'remove_deleted_devices_from_device_inbox', '{}');