Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9BC51858B for ; Tue, 21 Jul 2015 09:39:42 +0000 (UTC) Received: (qmail 36424 invoked by uid 500); 21 Jul 2015 09:39:20 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 36385 invoked by uid 500); 21 Jul 2015 09:39:20 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 36376 invoked by uid 99); 21 Jul 2015 09:39:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 09:39:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6940EDFCB5; Tue, 21 Jul 2015 09:39:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tedyu@apache.org To: commits@hbase.apache.org Message-Id: <8ef4fd456a4046d19e510dac6514c1c9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-13881 Bug in HTable#incrementColumnValue implementation (Gabor Liptak) Date: Tue, 21 Jul 2015 09:39:20 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/branch-1.1 349a65d0d -> 6a65b9376 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/6a65b937 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6a65b937 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6a65b937 Branch: refs/heads/branch-1.1 Commit: 6a65b9376b93529418dbc1e92cc7473f2c5b2fd2 Parents: 349a65d Author: tedyu Authored: Tue Jul 21 02:39:14 2015 -0700 Committer: tedyu Committed: Tue Jul 21 02:39:14 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/6a65b937/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 16e119f..4361be7 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 @@ -1176,7 +1176,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); } /**