matrix-org / matrix-org/rust-synapse-compress-state
Add number of chunk on process of synapse_auto_compressor
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 173
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
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 chunk size 500
INFO synapse_auto_compressor::manager] [2 of 10000] Running compressor on room !abc:matrix.de with chunk size 500
...
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
Start at the synapse_auto_compressor entry point and trace the chunk-processing path used by the -n option. Check how the existing INFO message is emitted and how the total chunk count can be determined. Done means each processed chunk reports its ordinal and total in the requested format, including large -n runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100