nizhikov commented on code in PR #12106: URL: https://github.com/apache/ignite/pull/12106#discussion_r2123560487
########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java: ########## @@ -1893,14 +1754,7 @@ private IgniteBiTuple<Long, Long> scanMinMaxArchiveIndices() throws IgniteChecke } // If WAL archive is empty, try to find last not archived segment in work directory and copy to WAL archive. - TreeMap<Long, FileDescriptor> workIndices = new TreeMap<>(); - - for (File file : ft.wal().listFiles(WAL_SEGMENT_COMPACTED_OR_RAW_FILE_FILTER)) { Review Comment: Let's keep this code here and move `ft.walArchive().listFiles(WAL_SEGMENT_COMPACTED_OR_RAW_FILE_FILTER)` to `NodeFileTree`. -- 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