rust-synapse-compress-state
rust-synapse-compress-state copied to clipboard
A tool to compress some state in a Synapse instance's database
**Is your feature request related to a problem? Please describe.** We should document whether it is safe to run the compressor in parallel to synapse. **Describe the solution you'd like**...
Can you please add more debug info to message "Missing {}"? E.g. which room is related. How to fix this issue? If affected room no longer exists, state events can...
the readme only suggests synapse_auto_compressor -p postgresql://user:pass@localhost/synapse -c 500 -n 100 This means, that it will only check in 100 rooms and quit as I understand is as a layman....
It would be helpful to see the progress of `synapse_auto_compressor` when you run with a large `-n` option, e.g. INFO synapse_auto_compressor::manager] [1 of 10000] Running compressor on room !xyz:matrix.org with...
See https://github.com/matrix-org/rust-synapse-compress-state/runs/7239160947?check_suite_focus=true (I'm slightly surprised we don't pin a version of clippy?)
**Describe the bug** ``` Processing room !NrRVEWbxnLuHdvlPhM:grin.hu... into c2022-05-27_16:04:49_compress.sql Fetching state from DB for room '!NrRVEWbxnLuHdvlPhM:grin.hu'... [20s] 1583038 rows retrieved Got initial state from database. Checking for any missing state...
After using https://github.com/matrix-org/rust-synapse-compress-state we see the following behaviour: * rooms that do not have new unread messages, are marked as unread * when selecting these rooms in element-web, the rooms...
**Is your feature request related to a problem? Please describe.** At the moment when needing to run this script on a kubernetes cluster, you'll need to build your own image....
Currently the compressor will rewrite state even if the result consists of the same number of rows which doesn't match the log statement.
synapse_auto_compressor panics on start after using the history delete api to remove remote events
**Describe the bug** ``` Nov 25 00:25:08 nordgedanken.dev systemd[1]: Starting State Compress Synapse... Nov 25 00:25:08 nordgedanken.dev synapse_auto_compressor[3600348]: [2021-11-24T23:25:08Z INFO synapse_auto_compressor] synapse_auto_compressor started Nov 25 00:25:08 nordgedanken.dev synapse_auto_compressor[3600348]: [2021-11-24T23:25:08Z INFO...