Revert the background job to clear unreferenced state groups (that was...
Revert the background job to clear unreferenced state groups (that was introduced in v1.126.0rc1), due to a suspected issue that causes increased disk usage. (#18222) Revert "Add background job to clear unreferenced state groups (#18154)" This mechanism is suspected of inserting large numbers of rows into `state_groups_state`, thus unreasonably increasing disk usage. See: https://github.com/element-hq/synapse/issues/18217 This reverts commit 5121f921 (#18154). --------- Signed-off-by:Olivier 'reivilibre <oliverw@matrix.org>
Showing
- changelog.d/18222.bugfix 1 addition, 0 deletionschangelog.d/18222.bugfix
- docs/development/database_schema.md 1 addition, 1 deletiondocs/development/database_schema.md
- synapse/_scripts/synapse_port_db.py 0 additions, 30 deletionssynapse/_scripts/synapse_port_db.py
- synapse/storage/controllers/purge_events.py 63 additions, 183 deletionssynapse/storage/controllers/purge_events.py
- synapse/storage/databases/state/bg_updates.py 1 addition, 9 deletionssynapse/storage/databases/state/bg_updates.py
- synapse/storage/databases/state/deletion.py 9 additions, 33 deletionssynapse/storage/databases/state/deletion.py
- synapse/storage/schema/__init__.py 0 additions, 1 deletionsynapse/storage/schema/__init__.py
- synapse/storage/schema/state/delta/89/02_delete_unreferenced_state_groups.sql 0 additions, 16 deletions...ma/state/delta/89/02_delete_unreferenced_state_groups.sql
- synapse/types/storage/__init__.py 0 additions, 4 deletionssynapse/types/storage/__init__.py
- tests/storage/test_purge.py 0 additions, 97 deletionstests/storage/test_purge.py
Loading
Please register or sign in to comment