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

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

Branch: refs/heads/branch-1.2
Commit: 67ac114d1e4cccddc24512e4efd732b0e0f6d540
Parents: 48466a6
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:48:18 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/67ac114d/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;
   }
 
   /**