kgusakov commented on code in PR #5020:
URL: https://github.com/apache/ignite-3/pull/5020#discussion_r1913130199
##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZoneManager.java:
##########
@@ -1506,6 +1518,18 @@ Optional<Long> highestRevision(boolean addition) {
.map(Map.Entry::getKey);
}
+ /**
+ * Returns the highest revision which is presented in the {@link
ZoneState#topologyAugmentationMap()}.
+ *
+ * @return The highest revision which is presented in the {@link
ZoneState#topologyAugmentationMap()}.
+ */
+ Optional<Long> highestRevision() {
Review Comment:
It needs to convert stream here: from Stream<Long> to LongStream or
something like that. Looks like solution is worse than the "trouble" (
--
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]