matrix-org / matrix-org/rust-synapse-compress-state

Add number of chunk on process of synapse_auto_compressor

Open
#98 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.