cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Pollack <paul.poll...@klaviyo.com>
Subject Question about counters read before write behavior
Date Sun, 17 Sep 2017 13:51:04 GMT
Hi,

We're trying to confirm on a counter write that the entire partition is
read from disk vs. just the row and column of the partition to increment.
We've trade the code to this line
<https://github.com/apache/cassandra/blob/cassandra-3.7/src/java/org/apache/cassandra/db/SinglePartitionReadCommand.java#L518>.
It looks like the code only uses a filter on the partition for reading if
the read does not involve collections or counters. Can anyone familiar with
the source code confirm if this is true and whether we're looking at the
right lines of code that show what data is read from disk (or from an
internal cache)?

Thanks,
Paul

Mime
View raw message