element-hq / element-hq/synapse

Room garbage collection

Open
#15,575 0 comments 7 reactions 0 assignees View on GitHub
A-Disk-Space A-Retention O-Occasional roadmap T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#15575](https://github.com/matrix-org/synapse/issues/15575).

---

As an admin I want that all content of a room is deleted when a room is removed for that there is no orphaned events/messages/media and I can keep storage under control as well as comply with legal requirements.

* Deleting a room should delete all of its contents \(events/media\)
* This should work for local rooms as well as remote rooms that comply with the spec

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or an entry point. Start by tracing how room removal is handled for local and remote rooms, then map where events and media are stored. Done means deleting a room removes all of its events, media, and messages without orphaned data, including for spec-compliant remote rooms.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.