SammyVimes commented on code in PR #2266:
URL: https://github.com/apache/ignite-3/pull/2266#discussion_r1252214544


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/BaseIgniteRestartTest.java:
##########
@@ -241,32 +236,17 @@ public static PartialNode partialNode(
     ) {
         AtomicLong lastRevision = new AtomicLong();
 
-        Consumer<Long> revisionCallback0 = rev -> {
-            if (revisionCallback != null) {
-                revisionCallback.accept(rev);
-            }
-
-            lastRevision.set(rev);
-        };
-
-        CompletableFuture<Void> configurationCatchUpFuture = 
RecoveryCompletionFutureFactory.create(
-                clusterCfgMgr,
-                fut -> new TestConfigurationCatchUpListener(cfgStorage, fut, 
revisionCallback0)
-        );
-
         CompletableFuture<?> startFuture = CompletableFuture.allOf(
                 
nodeCfgMgr.configurationRegistry().notifyCurrentConfigurationListeners(),
                 clusterConfigRegistry.notifyCurrentConfigurationListeners()
         ).thenCompose(unused ->
                 // Deploy all registered watches because all components are 
ready and have registered their listeners.
-                CompletableFuture.allOf(metaStorageMgr.deployWatches(), 
configurationCatchUpFuture)
+                metaStorageMgr.deployWatches()
         );
 
         assertThat("Partial node was not started", startFuture, 
willCompleteSuccessfully());
 
-        log.info("Completed recovery on partially started node, last revision 
applied: " + lastRevision.get()
-                + ", acceptableDifference: " + 
IgniteSystemProperties.getInteger(CONFIGURATION_CATCH_UP_DIFFERENCE_PROPERTY, 
100)
-        );
+        log.info("Completed recovery on partially started node, last revision 
applied: " + lastRevision.get());

Review Comment:
   Completed recovery is correct though



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to