-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'Make sure that cache_flat_mutation_reader::do_fill_buffer does…
… not fast forward finished underlying reader' from Piotr Jastrzębski It is possible that a partition is in cache but is not present in sstables that are underneath. In such case: 1. cache_flat_mutation_reader will fast forward underlying reader to that partition 2. The underlying reader will enter the state when it's empty and its is_end_of_stream() returns true 3. Previously cache_flat_mutation_reader::do_fill_buffer would try to fast forward such empty underlying reader 4. This PR fixes that Test: unit(dev) Fixes #8435 Fixes #8411 Closes #8437 * github.com:scylladb/scylla: row_cache: remove redundant check in make_reader cache_flat_mutation_reader: fix do_fill_buffer read_context: add _partition_exists read_context: remove skip_first_fragment arg from create_underlying read_context: skip first fragment in ensure_underlying (cherry picked from commit 163f2be)
- Loading branch information
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters