paritytech / paritytech/parity-db
Warn about database reaching its limits
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 287
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Print a warning if any of the internal hard limits is at 50% capacity.
This includes:
- 32-bit value table entry address space
- fields of the 64-bit index entry
Also detect and complain about index degradation due to high collision rate.
Contributor guide
No contributing guide indexed for this repository
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 by locating the database code that tracks the 32-bit value-table address space, 64-bit index-entry fields, and index collision rates. Confirm how capacity and degradation are measured, then define warnings for the 50% thresholds and high-collision condition. Done means each requested limit can trigger an actionable warning without changing normal database behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100