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.
Closed
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)