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


##########
modules/core/src/main/java/org/apache/ignite/internal/management/cdc/CdcDeleteLostSegmentsTask.java:
##########
@@ -142,7 +141,7 @@ protected 
CdcDeleteLostSegmentsJob(CdcDeleteLostSegmentLinksCommandArg arg, bool
                     Path stateDir = ft.walCdc().toPath().resolve(STATE_DIR);
 
                     if (stateDir.toFile().exists()) {
-                        File walState = 
stateDir.resolve(WAL_STATE_FILE_NAME).toFile();
+                        File walState = 
NodeFileTree.walStateFilePath(stateDir, false).toFile();

Review Comment:
   This must be NOT static method - we have all information inside 
`NodeFileTree`, already.



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