Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 a6b615b54 -> 44ccaafa8


HBASE-13881 Bug in HTable#incrementColumnValue implementation (Gabor Liptak)


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

Branch: refs/heads/branch-1.0
Commit: 44ccaafa86862dfa9b962d3ce8131f8f5655f2d0
Parents: a6b615b
Author: tedyu <[email protected]>
Authored: Tue Jul 21 02:39:52 2015 -0700
Committer: tedyu <[email protected]>
Committed: Tue Jul 21 02:39:52 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/44ccaafa/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
index 5cb49a9..9039b9a 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
@@ -1197,7 +1197,7 @@ public class HTable implements HTableInterface, 
RegionLocator {
       final byte [] qualifier, final long amount, final boolean writeToWAL)
   throws IOException {
     return incrementColumnValue(row, family, qualifier, amount,
-      writeToWAL? Durability.SKIP_WAL: Durability.USE_DEFAULT);
+      writeToWAL? Durability.SYNC_WAL: Durability.SKIP_WAL);
   }
 
   /**

Reply via email to