cockroachdb / cockroachdb/pebble
sstable: error out when opening empty ssts
Open
A-storage
T-storage
- Dominant language
- Go
- Stars
- 6k
- Forks
- 584
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 5
Description
I ran into a problem with `SeekGE` on an empty sst sometimes panicking with `invalidated blockIter used`. A few details in the (private) thread:
https://cockroachlabs.slack.com/archives/CAC6K3SLU/p1706130530093809?thread_ts=1706036242.466479&cid=CAC6K3SLU
We should make sure writing and using empty ssts works, because it's a surprising and subtle failure mode. In some corner cases (see #3406), we might end up writing an empty sst.
Jira issue: PEBBLE-108
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.