mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 21:55:50 +00:00
clustering_range_walker detects when we jump from one row range to another. When a static row is included in the query, the constructor sets up the first before/after bounds to be exactly that static row. That creates an artificial range crossing if the first clustering range is contiguous with the static row. This can cause the index to be consulted needlessly if we happen to fall back to sstable_mutation_reader after reading the static row. A unit test is added. Ref #7883.