You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (Jira)" <ji...@apache.org> on 2021/09/10 13:09:00 UTC

[jira] [Created] (CASSANDRA-16944) Single partition reads can read more SSTables than required

Benjamin Lerer created CASSANDRA-16944:
------------------------------------------

             Summary: Single partition reads can read more SSTables than required 
                 Key: CASSANDRA-16944
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16944
             Project: Cassandra
          Issue Type: Bug
          Components: Legacy/Local Write-Read Paths
            Reporter: Benjamin Lerer
            Assignee: Benjamin Lerer


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.      



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org