matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
142 stars 32 forks source link

Panic with return code 101 #145

Closed mir06 closed 1 month ago

mir06 commented 1 month ago

I'm running synapse_auto_compressor in a daily cronjob. Some days ago it started to panic during processing of the room #rust:matrix.org.

When I run it on the command-line I get

synapse_auto_compressor -p <db-connection> -c 500 -n 100
2024-06-06T20:57:06Z INFO  synapse_auto_compressor] synapse_auto_compressor started
[2024-06-06T20:57:06Z INFO  synapse_auto_compressor::manager] Running compressor on room !fsEJmDUHIdYFfFRTSH:jki.re with chunk size 500
[2024-06-06T20:57:07Z ERROR panic] thread 'main' panicked at 'Missing 303706': src/lib.rs:668

with the return code 101.

No other room is touched anymore.

What can I do? Do I have a problem with my database?

anoadragon453 commented 1 month ago

Hi @mir06. Please re-open this issue on the https://github.com/matrix-org/rust-synapse-compress-state issue tracker, as this looks like a bug within that codebase. Thanks!