mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 11:55:15 +00:00
" Currently stateful (readers being saved and resumed on page boundaries) multi-range scans are broken in multiple ways. Trying to use them can result in anything from use-after-free (#6716) or getting corrupt data (#9718). Luckily no-one is doing such queries today, but this started to change recently as code such as Alternator TTL and distributed aggregate reads started using this. This series fixes both problems and adds a unit test too exercising this previously completely unused code-path. Fixes: #6716 Fixes: #9718 Tests: unit(dev, release, debug) " * 'fix-stateful-multi-range-scans/v1' of https://github.com/denesb/scylla: test/boost/multishard_mutation_query_test: add multi-range test test/boost/multishard_mutation_query_test: add multi-range support multishard_mutation_query: don't drop data during stateful multi-range reads multishard_combining_reader: reader_lifecycle_policy: allow saving read range on fast-forward