JAkutenshi commented on code in PR #6902:
URL: https://github.com/apache/ignite-3/pull/6902#discussion_r2544684443


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DataNodesManager.java:
##########
@@ -913,12 +919,14 @@ public CompletableFuture<Set<String>> dataNodes(int 
zoneId, HybridTimestamp time
     }
 
     /**
-     * Unlike {@link #dataNodes} this method recalculates the data nodes, 
writes it to metastorage and history, and returns them.
+     * Unlike {@link #dataNodes} this method recalculates the  data nodes for 
given zone and writes them to metastorage.
      *
      * @param zoneName Zone name.
-     * @return Recalculated data nodes for the given zone.
+     * @return The future with recalculated data nodes for the given zone.
      */
     public CompletableFuture<Set<String>> recalculateDataNodes(String 
zoneName) {

Review Comment:
   It is used in test `recalculateZoneDataNodesManuallyAndWaitForDataNodes` to 
check that recalculation receive an expected set, but also this return may be 
useful in the future.



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

Reply via email to