mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
We were considering the token ranges in the size_estimates system table to be inclusive, which is incorrect and incompatible with Cassandra. While we ignore the inclusiveness of the partition_range bounds when selecting sstables, we do take it into account in estimated_keys_for_range(). We would thus select the correct sstables, but could over-estimate the range size nonetheless. Tests: virtual_reader_test(release) Signed-off-by: Duarte Nunes <duarte@scylladb.com> Message-Id: <20180709115919.5106-1-duarte@scylladb.com>