cockroachdb / pebble

RocksDB/LevelDB inspired key-value database in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db: range keys are not supported in external files

RaduBerinde opened this issue · comments

If we use IngestExternalFiles with a file that has range keys, we can get incorrect results. This is because some iterators (like keyspan.LevelIter) assume that range key boundaries are tight (and HasRangeKeys is accurate). These assumptions don't hold in general for external files.