mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 06:23:03 +00:00
This flag is not really needed, because we can just attempt a resume on first use which will fail with the default constructed inactive read handle and the reader will be created via the recreate-after-evicted path. This allows the same path to be used for all reader creation cases, simplifying the logic and more importantly making further patching easier without the special case. To make the recreate path (almost) as cheap for the first reader creation as it was with the special path, `_trim_range_tombstones` and `_validate_partition_key` is only set when really needed. Tests: unit(dev) Signed-off-by: Botond Dénes <bdenes@scylladb.com> Message-Id: <20210514141511.127735-1-bdenes@scylladb.com>
113 KiB
113 KiB