dcapwell commented on code in PR #38:
URL: https://github.com/apache/cassandra-accord/pull/38#discussion_r1162117124
##########
accord-core/src/test/java/accord/burn/BurnTestConfigurationService.java:
##########
@@ -269,10 +272,15 @@ public synchronized void acknowledgeEpoch(long epoch)
{
epochs.acknowledge(epoch);
Topology topology = getTopologyForEpoch(epoch);
- Node originator = lookup.apply(node);
+ Node originator = originator();
topologyUpdates.syncEpoch(originator, epoch - 1, topology.nodes());
}
+ private Node originator()
+ {
+ return lookup.apply(node);
Review Comment:
I don't understand this comment.. this function is used, and not sure the
relation with `MessageSink`?
--
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]