hiero-ledger / hiero-ledger/hiero-consensus-node
Re-create indexes in case they are missing
Open
Platform
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
If index files are missing and the data is not, `MerkleDbDataSource` should be able to reconstruct the indexes on fly.
Once the data indexes are reconstructed, they have to be re-hashed.
Contributor guide
Research direction
Start by locating MerkleDbDataSource and tracing how its data and index files are loaded. Check how missing index files can be reconstructed from existing data, then determine where the reconstructed indexes must be re-hashed. Done means missing indexes are rebuilt on the fly and their hashes are updated consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100