Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Code
-
Low
-
Normal
-
Code Inspection
-
All
-
None
-
Description
For some scenarios involving row deletions, range deletions or static columns, the logic of SinglePartitionReadCommand.queryMemtableAndSSTablesInTimestampOrder might trigger more SSTables reads that expected.
For row deletions and range deletions the reasons is that the logic do not take them into account. Once we hit a deleted row (caused by a row deletion or a range deletion) with a timestamp higher than the one of the next SStable we know that we can stop reading more SSTables.
For static columns the problems seems to have been introduced by the changes in CASSANDRA-16671.