You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Since upgrading past v1.58 size of database on disk has ballooned for my usage. Specifically the device_lists_changes_in_room table.
Steps to reproduce
I suspect the problem is my specific usage of synapse: I use an automated script that creates rooms and manages adding/removing users from those rooms as needed. The scripts runs async and in parallel across hosts+processes.
The script logs in as a single administrative user (marked as 'admin' and in every room it creates) with a random device ID (to avoid collisions) and logs out after every use. This user is a member of each and every room on the system. In each environment I deploy there are 100k+ rooms.
As I understand #12321, a record of a user's rooms is kept after each 'change'. if a change were to affect my administrative user its membership in every room is recorded. I assume a 'change' is a login/logout?
Tactical question: since I'm not federating, can I safely purge rows device_lists_changes_in_room or is there some short-term, destructive approach I can use to avoid running out of disk space?
Higher level question: is the bug my usage? Is there a better way to accomplish what I want with synapse?