Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multishard_mutation_query: make multi_range_reader::fill_buffer() wor…
…k even after EOS if fill_buffer() is called after EOS, underlying reader will be fast forwarded to a range pointed to by an invalid iterator, so producing incorrect results. fill_buffer() is changed to return early if EOS was found, meaning that underlying reader already fast forwarded to all ranges managed by multi_range_reader. Usually, consume facilities check for EOS, before calling fill_buffer() but most reader impl check for EOS to avoid correctness issues. Let's do the same here. Signed-off-by: Raphael S. Carvalho <[email protected]> Message-Id: <[email protected]>
- Loading branch information