nizhikov commented on code in PR #11044:
URL: https://github.com/apache/ignite/pull/11044#discussion_r1404093163


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/IgniteCacheDatabaseSharedManager.java:
##########
@@ -1069,6 +1069,10 @@ public void startMemoryRestore(GridKernalContext kctx, 
TimeBag startTimer) throw
 
             cctx.wal(true).startAutoReleaseSegments();
             cctx.wal(true).resumeLogging(ptr);
+
+            // This callback is required for CdcManager initialization.
+            if (cctx.cdc() != null && cctx.cdc().enabled())

Review Comment:
   Looks like cdc() can't return null. Do we really need null check?



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