Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colblk: fix IndexIter.Close, add a defensive assertion in IndexIter
A CI run observed a nil pointer in BlockHandleWithProperties during the sstable.TestIterator_RandomErrors unit test. I haven't been able to reproduce yet. This commit adds an invariants-build assertion that we're reading a valid row. Additionally, it fixes a bug in IndexIter.Close that could cause a subsequent call to Valid() to return true.
- Loading branch information