kgusakov commented on code in PR #5020:
URL: https://github.com/apache/ignite-3/pull/5020#discussion_r1913103745


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZoneManager.java:
##########
@@ -301,8 +303,6 @@ public CompletableFuture<Void> startAsync(ComponentContext 
componentContext) {
             // fires CatalogManager's ZONE_CREATE event, and the state of 
DistributionZoneManager becomes consistent.
             int catalogVersion = catalogManager.latestCatalogVersion();
 
-            partitionDistributionResetTimeoutConfiguration.init();

Review Comment:
   1. Read configuration immediately
   2. Holder will have null value before the first configuration update. I 
wrote about in javadoc directly:
   `* <p>If this method's call or first configuration update will not occur 
before holder usage, it will produce a {@code null} value.`



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