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


##########
src/java/org/apache/cassandra/service/reads/tracked/TrackedRead.java:
##########
@@ -285,7 +285,7 @@ private void start(Dispatcher.RequestTime requestTime, 
Consumer<PartialTrackedRe
     {
         // TODO: skip local coordination if this node knows its recovering 
from an outage
         // TODO: read speculation
-        Replica localReplica = 
replicaPlan.lookup(FBUtilities.getBroadcastAddressAndPort());
+        Replica localReplica = 
plan.replicas().lookup(FBUtilities.getBroadcastAddressAndPort());

Review Comment:
   is that just a stylistic preference? I'd prefer keeping it tied to the plan



-- 
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