bdeggleston commented on code in PR #4708:
URL: https://github.com/apache/cassandra/pull/4708#discussion_r3562126479


##########
src/java/org/apache/cassandra/service/reads/ReplicaFilteringProtection.java:
##########
@@ -636,20 +636,20 @@ private UnfilteredPartitionIterator fetchFromSource()
                                                                                
key,
                                                                                
filter);
 
-            ReplicaPlan.ForTokenRead replicaPlan = 
ReplicaPlans.forSingleReplicaRead(keyspace, key.getToken(), source);
+            CoordinationPlan.ForTokenRead plan = 
CoordinationPlan.forSingleReplicaTokenRead(keyspace, key.getToken(), source);
 
             try
             {
-                return executeReadCommand(cmd, source, 
ReplicaPlan.shared(replicaPlan));
+                return executeReadCommand(cmd, source, plan);

Review Comment:
   no the coordination plan handles the shared functionality



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to