aweisberg commented on code in PR #3777:
URL: https://github.com/apache/cassandra/pull/3777#discussion_r1915416071
##########
src/java/org/apache/cassandra/tcm/ClusterMetadataService.java:
##########
@@ -756,7 +756,12 @@ public ClusterMetadata
fetchLogFromPeerOrCMS(ClusterMetadata metadata, InetAddre
public ClusterMetadata awaitAtLeast(Epoch epoch) throws
InterruptedException, TimeoutException
{
- return log.awaitAtLeast(epoch);
+ return awaitAtLeast(epoch, -1, null);
+ }
+
+ public ClusterMetadata awaitAtLeast(Epoch epoch, long timeout, TimeUnit
unit) throws InterruptedException, TimeoutException
Review Comment:
It actually looks like the only reason it was used here was because it was
literally pulling a value out of `DatabaseDescriptor` and using it directly,
not an intentional style choice.
--
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]