dcapwell commented on code in PR #3416:
URL: https://github.com/apache/cassandra/pull/3416#discussion_r1777750930


##########
src/java/org/apache/cassandra/service/accord/AccordService.java:
##########
@@ -350,6 +374,7 @@ private AccordService(Id localId)
         Invariants.checkState(localId != null, "static localId must be set 
before instantiating AccordService");
         logger.info("Starting accord with nodeId {}", localId);
         AccordAgent agent = 
FBUtilities.construct(CassandraRelevantProperties.ACCORD_AGENT_CLASS.getString(AccordAgent.class.getName()),
 "AccordAgent");
+        agent.setNodeId(localId);

Review Comment:
   this was added for testing.  `AccordTopologyMixupTest` defines its own 
`AccordAgent` so it can provide debug details for timed out txns



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