[Leveldb Compact] output file should dump to lower level
Open
stat/will-see-later
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 432
- PR merge metrics
- No merged PRs in 30d
Description
level多了会导致删除标记清理不及时,当一次偶然将数据写多了之后,level会增加,即使数据全删,level也不会下降
通过这样的方式可以让level降下去
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name files or tests. Start by locating the Leveldb Compact implementation and trace where its output file is assigned a level; reproduce the case where deleted data leaves too many levels, then verify that compaction places output at a lower level and the level count decreases.
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