[ https://issues.apache.org/jira/browse/CASSANDRA-15910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Rackliffe updated CASSANDRA-15910: ---------------------------------------- Labels: query read (was: ) > Add multi-partition key commands > -------------------------------- > > Key: CASSANDRA-15910 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15910 > Project: Cassandra > Issue Type: Improvement > Reporter: Andres de la Peña > Priority: Normal > Labels: query, read > > As it's mentioned in [this TODO > comment|https://github.com/apache/cassandra/blob/dd255ffa07d0263521a1ca863fc2192db19bc04c/src/java/org/apache/cassandra/service/ReplicaFilteringProtection.java#L141] > that was introduced in CASSANDRA-8272, replica filtering protection would > benefit from a {{ReadCommand}} implementation able to internally read the > rows identified by a group of primary keys residing in different partitions. > It would be different from {{SinglePartitionReadCommand.Group}} in that it > wouldn't need to be split in per-partition commands when sending it to a > replica. We could call it {{MultiPartitionReadCommand}}, for example. > Such command would also be beneficial for the performance of regular IN CQL > queries, since it would reduce the traffic between the coordinator and the > replicas by grouping the queries sent to a replica. > An alternative way of getting that performance gain could be modifying how > the current {{SinglePartitionReadCommand.Group}} is executed on the > {{StorageProxy}} so, instead of sending each of its internal > {{SinglePartitionReadCommand}} s to the replicas, we could split it in > smaller {{Group}} commands targeted to specific replicas, if that makes sense. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org