Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit bfd7a9b

Browse files
authored
Fix comments referencing v1.46.0 from PR #10969. (#11212)
#10969 was merged after 1.46.0rc1 was cut and will be included in v1.47.0rc1 instead.
1 parent ad4eab9 commit bfd7a9b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

changelog.d/11212.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a long-standing bug where messages in the `device_inbox` table for deleted devices would persist indefinitely. Contributed by @dklimpel and @JohannesKleine.

synapse/storage/databases/main/deviceinbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ async def _remove_deleted_devices_from_device_inbox(
594594
) -> int:
595595
"""A background update that deletes all device_inboxes for deleted devices.
596596
597-
This should only need to be run once (when users upgrade to v1.46.0)
597+
This should only need to be run once (when users upgrade to v1.47.0)
598598
599599
Args:
600600
progress: JsonDict used to store progress of this background update

synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
-- Remove messages from the device_inbox table which were orphaned
18-
-- when a device was deleted using Synapse earlier than 1.46.0.
18+
-- when a device was deleted using Synapse earlier than 1.47.0.
1919
-- This runs as background task, but may take a bit to finish.
2020

2121
INSERT INTO background_updates (ordering, update_name, progress_json) VALUES

0 commit comments

Comments
 (0)