dain / leveldb

Port of LevelDB to Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in overlap check?

opened this issue · comments

The someFileOverlapsRange function of Level0 class depends on findFile method to find the first file with largest key larger than the target key(smallest user key), but the findFile may return the last file in level when no file satisfying the condition.
Same situation in Level class.
I guess there may be a bug, but do not confirm that through testing.