mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 19:46:48 +00:00
With the default value of 12, a node's range is partitioned into 4096 * smp::count sub-ranges which are queried sequentually for a range scan. If the number of rows in the table is smaller than the required result size, we will query all of them. This can take so long that we time out. A better fix is to query multiple sub-ranges in parallel and merge them, but for that we need to resurrect the non-sequential merger.