You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2015/12/17 21:30:33 UTC

[4/5] hbase git commit: HBASE-14989 Implementation of Mutation.getWriteToWAL() is backwards

HBASE-14989 Implementation of Mutation.getWriteToWAL() is backwards


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2834aff5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2834aff5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2834aff5

Branch: refs/heads/branch-1.0
Commit: 2834aff59a468dd27aeaa2e6c12280f1a30b8d8d
Parents: 736f5b3
Author: Enis Soztutar <en...@apache.org>
Authored: Thu Dec 17 11:48:14 2015 -0800
Committer: Enis Soztutar <en...@apache.org>
Committed: Thu Dec 17 11:50:51 2015 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/client/Mutation.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2834aff5/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
index dbc1317..2b88ffc 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
@@ -238,7 +238,7 @@ public abstract class Mutation extends OperationWithAttributes implements Row, C
    */
   @Deprecated
   public boolean getWriteToWAL() {
-    return this.durability == Durability.SKIP_WAL;
+    return this.durability != Durability.SKIP_WAL;
   }
 
   /**