crypto-org-chain / crypto-org-chain/cronos
Problem: consistency is not checked on startup
Open
- Dominant language
- Go
- Stars
- 336
- Forks
- 299
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 4
Description
if the memiavl directory is dirty, we might get errors later down the stream.
do some checks on startup to find issues early on:
- tmp snapshot directories
- snapshots that's later than the "current" one
- the "current" snapshot do exists.
- wal covers all the snapshots.
Contributor guide
Research direction
Start by tracing the memiavl startup path and how it opens the memiavl directory, snapshots, and WAL. Check how temporary snapshots, the current snapshot, later snapshots, and WAL coverage are represented. Done means startup detects and reports each listed inconsistency before later processing can fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100