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

completely broken room after purge_room/rejoin #11521

Closed
@richvdh

Description

when you purge a room (via the delete room api), we do not clear the in-memory caches. Then, when you rejoin, we have a bunch of the events in the cache, so do not bother to re-persist them.

This leads to very bad brokenness, like state_groups_state referring to events which do not exist.

(A workaround is of course to restart synapse after purging and before rejoining)

Metadata

Assignees

No one assigned

    Labels

    A-CorruptionThings that have led to unexpected state in Synapse or the databaseT-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions