Incompatibility when upgrading 1.20 -> 1.22
Open
- Dominant language
- C++
- Stars
- 39.4k
- Forks
- 8.2k
- PR merge metrics
- No merged PRs in 30d
Description
I am upgrading level db in a fork of https://github.com/Level/classic-level and when I start my application I get
`
[Error: Corruption: corrupted compressed block contents] {
code: 'LEVEL_CORRUPTION'
}
`
Are there any things to think about when upgrading leveldb?
Contributor guide
Research direction
Start by reproducing the startup failure while upgrading LevelDB from 1.20 to 1.22 in the reported fork of classic-level. Investigate the compressed-block corruption error and identify the upgrade compatibility requirement; the issue is resolved when the application opens its existing data without reporting LEVEL_CORRUPTION.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100