ifesdjeen commented on code in PR #3045:
URL: https://github.com/apache/cassandra/pull/3045#discussion_r1474447169
##########
src/java/org/apache/cassandra/tcm/ClusterMetadata.java:
##########
@@ -817,6 +818,15 @@ public static ClusterMetadata currentNullable()
return service.metadata();
}
+ public static Optional<ClusterMetadata> currentOptional()
+ {
+ ClusterMetadataService service = ClusterMetadataService.instance();
Review Comment:
removed in favour of the nullable version.
--
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]