google / google/leveldb

Question about sequence number in log file and MANIFEST

Open
#750 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

### DB file status
1. 000014.log has 22 blocks. Sequence number of blocks are 45141 ~ 45143 and 45146 ~ 45164

2. The last sequence number in MANIFEST-000002 is 45146.

### DB file open result
1. My golang application made with goleveldb dropped data with seq# lower than 45146 when opening DB
2. My python application made with plyvel recovered all data and read all data

### question
1. Is it correct that the log file has a lower seq # than the MANIFEST file?
2. If the answer is yes, which application worked correctly?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.