IGNITE-10243 Some comments update for produce difference with master.
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java
index b56b64f..b6d5b90 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/FileWriteAheadLogManager.java
@@ -146,13 +146,13 @@
/** */
private static final FileDescriptor[] EMPTY_DESCRIPTORS = new FileDescriptor[0];
- /** */
+ /** 0 filled buffer for file formatting. */
private static final byte[] FILL_BUF = new byte[1024 * 1024];
- /** Pattern for segment file names */
+ /** Pattern for segment file names. */
public static final Pattern WAL_NAME_PATTERN = Pattern.compile("\\d{16}\\.wal");
- /** */
+ /** Pattern for WAL temp files - these files will be cleared at startup. */
public static final Pattern WAL_TEMP_NAME_PATTERN = Pattern.compile("\\d{16}\\.wal\\.tmp");
/** WAL segment file filter, see {@link #WAL_NAME_PATTERN} */
@@ -162,7 +162,7 @@
}
};
- /** */
+ /** WAL segment temporary file filter, see {@link #WAL_TEMP_NAME_PATTERN} */
private static final FileFilter WAL_SEGMENT_TEMP_FILE_FILTER = new FileFilter() {
@Override public boolean accept(File file) {
return !file.isDirectory() && WAL_TEMP_NAME_PATTERN.matcher(file.getName()).matches();
@@ -1266,9 +1266,9 @@
/**
* Fills the file header for a new segment. Calling this method signals we are done with the segment and it can be
- * archived. If we don't have prepared file yet and achiever is busy this method blocks
+ * archived. If we don't have prepared file yet and achiever is busy this method blocks.
*
- * @param cur Current file write handle released by WAL writer
+ * @param cur Current file write handle released by WAL writer.
* @return Initialized file handle.
* @throws IgniteCheckedException If exception occurred.
*/
@@ -1336,7 +1336,7 @@
}
/**
- * Deletes temp files, creates and prepares new; Creates first segment if necessary
+ * Deletes temp files creates and prepares new; Creates the first segment if necessary.
*
* @throws StorageException If failed.
*/