matrix-org / matrix-org/rust-synapse-compress-state
thread 'main' panicked at 'Missing 39318': src/lib.rs:668
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 173
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
When I execute
`synapse_auto_compressor -p 'postgresql://r:@localhost/synapse' -c 500 -n 100`
the following error returns:
```
[2024-09-09T20:05:24Z INFO synapse_auto_compressor] synapse_auto_compressor started
[2024-09-09T20:05:24Z INFO synapse_auto_compressor::manager] Running compressor on room !Room:server.tld with chunk size 500
[2024-09-09T20:05:24Z ERROR panic] thread 'main' panicked at 'Missing 39318': src/lib.rs:668
```
(I replaced the room-id)
I am currently using synapse_auto_compressor 0.1.3
Does anybody have an idea how to fix that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with synapse_auto_compressor 0.1.3 using the reported PostgreSQL command, then inspect src/lib.rs:668 and the compressor startup path. Determine why the referenced state is missing; done means the same compression run no longer panics and proceeds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100