You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/10/09 14:48:23 UTC

[28/50] [abbrv] ignite git commit: Adjusted WAL docs

Adjusted WAL docs


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8bd51d8a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8bd51d8a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8bd51d8a

Branch: refs/heads/ignite-6305
Commit: 8bd51d8af815f91089405dfdde3b1b81af7b2e59
Parents: e74163a
Author: Denis Magda <dm...@gridgain.com>
Authored: Wed Oct 4 13:51:53 2017 -0700
Committer: Denis Magda <dm...@gridgain.com>
Committed: Wed Oct 4 13:51:53 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/configuration/WALMode.java  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8bd51d8a/modules/core/src/main/java/org/apache/ignite/configuration/WALMode.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/WALMode.java b/modules/core/src/main/java/org/apache/ignite/configuration/WALMode.java
index bea0cba..aa5cfdd 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/WALMode.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/WALMode.java
@@ -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;