cockroachdb / pebble

RocksDB/LevelDB inspired key-value database in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db: limit EFOS sstable pinning to files overlapping bounds

jbowens opened this issue · comments

Eventually file-only snapshots suffer additional space amplification by pinning a readState/manifest.Version until closed. This prevents any sstables in the version from being deleted. Since an EFOS indicates the bounds that it requires consistency over, we can avoid pinning sstables outside those bounds.