This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Deleting a room leaves clients with stuck rooms #16001
Copy link
Copy link
Open
Labels
A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...A-RetentionRetention rules to delete messages after a certain amount of timeRetention rules to delete messages after a certain amount of timeA-User-ExperienceO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
When a room is deleted through start_shutdown_and_purge_room (e.g. using the admin API), the users in the room don't receive a leave event or any other signal that it should be removed from the room list.
This leaves clients with stuck rooms that cannot have messages sent into. When that happens, the issue can only be fixed manually by the user: the user has to 'Clear cache and reload' (or equivalent).
Noticed as at Synapse v1.88.0 (though I have heard this issue mentioned earlier too; older Synapse-dev discussion)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...A-RetentionRetention rules to delete messages after a certain amount of timeRetention rules to delete messages after a certain amount of timeA-User-ExperienceO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.