dcapwell commented on code in PR #38:
URL: https://github.com/apache/cassandra-accord/pull/38#discussion_r1153469307


##########
accord-core/src/main/java/accord/coordinate/CheckShards.java:
##########
@@ -61,7 +61,8 @@ private static Topologies topologyFor(Node node, TxnId txnId, 
Unseekables<?, ?>
     protected void contact(Id id)
     {
         Unseekables<?, ?> unseekables = 
contact.slice(topologies().computeRangesForNode(id));
-        node.send(id, new CheckStatus(txnId, unseekables, txnId.epoch(), 
untilRemoteEpoch, includeInfo), this);
+        node.send(id, new CheckStatus(txnId, unseekables, txnId.epoch(), 
untilRemoteEpoch, includeInfo),
+                  node.commandStores().from(unseekables), this);

Review Comment:
   > Perhaps we should introduce a static method for discovering the 
CommandStore we're executing on currently, and store it in a ThreadLocal (or 
FastThreadLocal)
   
   I was thinking the same.  We don't depend on netty so don't think I can use 
FastThreadLocal though



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