Add metric for aborted compactions because of write load
Open
enhancement
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
## Summary
Very simple - whenever a compaction is aborted, increment a counter exposed in the `_stats` output.
## Additional context
Better visibility of this corner case via standard system monitoring tooling.
Contributor guide
Research direction
The issue names the compaction path and the `_stats` output but no files or tests. Locate where compactions are aborted because of write load, then trace how statistics are assembled. Done means the aborted-compaction counter appears in `_stats` and increments for that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100