denis-chudov commented on code in PR #5468:
URL: https://github.com/apache/ignite-3/pull/5468#discussion_r2012035894


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZoneManager.java:
##########
@@ -280,16 +280,12 @@ public CompletableFuture<Void> stopAsync(ComponentContext 
componentContext) {
      * {@link IllegalArgumentException} if causalityToken or zoneId is not 
valid.
      * {@link DistributionZoneNotFoundException} if the zone with the provided 
zoneId does not exist.
      *
-     * @param causalityToken Causality token.
+     * @param timestamp Timestamp.
      * @param catalogVersion Catalog version.
      * @param zoneId Zone id.
      * @return The future with data nodes for the zoneId.
      */
-    public CompletableFuture<Set<String>> dataNodes(long causalityToken, int 
catalogVersion, int zoneId) {
-        if (causalityToken < 1) {
-            throw new IllegalArgumentException("causalityToken must be greater 
then zero [causalityToken=" + causalityToken + '"');
-        }
-
+    public CompletableFuture<Set<String>> dataNodes(HybridTimestamp timestamp, 
int catalogVersion, int zoneId) {

Review Comment:
   done



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