nizhikov commented on code in PR #12106: URL: https://github.com/apache/ignite/pull/12106#discussion_r2123561756
########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java: ########## @@ -3208,21 +3062,6 @@ private void doFlush() { } } - /** - * Scans provided folder for a WAL segment files - * @param walFilesDir directory to scan - * @return found WAL file descriptors - */ - public static FileDescriptor[] loadFileDescriptors(final File walFilesDir) throws IgniteCheckedException { - final File[] files = walFilesDir.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