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:32 UTC

[3/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/44680a13
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/44680a13
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/44680a13

Branch: refs/heads/branch-1.1
Commit: 44680a13111394108f2b9a1102adddcd2747c2b7
Parents: af1f6ee
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:49:39 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/44680a13/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;
   }
 
   /**