Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

state_groups (& state_groups_state & state_group_edges) are not fully purged alongside the rooms #12821

Open
matrixbot opened this issue Dec 19, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #12821.


While investigating my database size, I found that state_groups_state and state_groups hold many stale entries that reference old rooms that have long since been removed from rooms and all related events tables.

It appears these are not purged alongside other tables, particularly via the DELETE _synapse/admin/v1/rooms/{room_id} API (with purge: true)

Version information

  • Version: Synapse 1.57.1

  • Install method: Docker image

  • Platform: Linux (Debian)

@matrixbot matrixbot changed the title Dummy issue state_groups (& state_groups_state & state_group_edges) are not fully purged alongside the rooms Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
csett86 added a commit to csett86/synapse that referenced this issue Apr 13, 2024
Document workaround until element-hq#12821 is implemented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant