mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 14:15:46 +00:00
When recreating the underlying reader, the evictable reader validates that the first partition key it emits is what it expects to be. If the read stopped at the end of a partition, it expects the first partition to be a larger one. If the read stopped in the middle of a certain partition it expects the first partition to be the same it stopped in the middle of. This latter assumption doesn't hold in all circumstances however. Namely, the partition it stopped in the middle of might get compacted away in the time the read was paused, in which case the read will resume from a greater partition. This perfectly valid cases however currently triggers the evictable reader's self validation, leading to the abortion of the read and a scary error to be logged. Relax this check to accept any partition that is >= compared to the one the read stopped in the middle of.