mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 14:15:46 +00:00
Before this patch, `bti_index_reader::last_block_offset()` returns the offset of the last block within the file. But the old `index_reader::last_block_offset()` returns the offset within the partition, and that's what the callers (i.e. reversed sstable reader) expect. Fix `bti_index_reader::last_block_offset()` (and the corresponding comment and test) to match `index_reader::last_block_offset()`.