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

Commit

Permalink
Fix comments referencing v1.46.0 from PR #10969. (#11212)
Browse files Browse the repository at this point in the history
#10969 was merged after 1.46.0rc1 was cut and will be included
in v1.47.0rc1 instead.
  • Loading branch information
dklimpel authored Oct 29, 2021
1 parent ad4eab9 commit bfd7a9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/11212.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a long-standing bug where messages in the `device_inbox` table for deleted devices would persist indefinitely. Contributed by @dklimpel and @JohannesKleine.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/deviceinbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ async def _remove_deleted_devices_from_device_inbox(
) -> int:
"""A background update that deletes all device_inboxes for deleted devices.
This should only need to be run once (when users upgrade to v1.46.0)
This should only need to be run once (when users upgrade to v1.47.0)
Args:
progress: JsonDict used to store progress of this background update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


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

INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
Expand Down

0 comments on commit bfd7a9b

Please sign in to comment.