Adjusted WAL docs
@@ -26,7 +26,7 @@ import org.jetbrains.annotations.Nullable;
public enum WALMode {
/**
* Default mode: full-sync disk writes. These writes survive power loss scenarios. When a control is returned
- * from the trnasaction commit operation, the changes are guaranteed to be forced on disk according to the
+ * from the transaction commit operation, the changes are guaranteed to be persisted to disk according to the
* transaction write synchronization mode.
*/
DEFAULT,
@@ -34,18 +34,19 @@ public enum WALMode {
/**
* Log only mode: flushes application buffers. These writes survive process crash. When a control is returned
* from the transaction commit operation, the changes are guaranteed to be forced to the OS buffer cache.
+ * It's up to the OS to decide when to flush its caches to disk.
*/
LOG_ONLY,
/**
- * Background mode. Does not force application buffer flush. Last updates may be lost in case of a process crash.
+ * Background mode. Does not force application's buffer flush. Last updates may be lost in case of a process crash.
*/
BACKGROUND,
/**
* WAL is disabled. Data is guaranteed to be persisted on disk only in case of graceful cluster shutdown using
- * {@link Ignite#active(boolean)} method. If an Ignite node is forefully terminated in NONE mode, it is likely
- * that data stored on disk is corrupted and work directory will need to be cleared for a successfull node restart.
+ * {@link Ignite#active(boolean)} method. If an Ignite node is terminated in NONE mode abruptly, it is likely
+ * that the data stored on disk is corrupted and work directory will need to be cleared for a node restart.
*/
NONE;
