rpuch commented on code in PR #2450:
URL: https://github.com/apache/ignite-3/pull/2450#discussion_r1307555068
##########
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java:
##########
@@ -513,12 +517,18 @@ public class IgniteImpl implements Ignite {
SchemaSynchronizationConfiguration.KEY
);
+ LongSupplier delayDurationMsSupplier = () ->
schemaSyncConfig.delayDuration().value();
+
catalogManager = new CatalogManagerImpl(
new UpdateLogImpl(metaStorageMgr),
clockWaiter,
- () -> schemaSyncConfig.delayDuration().value()
+ delayDurationMsSupplier
Review Comment:
Because at the moment the constructor is called the node is not started yet,
and the configuration becomes available only after we start the node
--
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]