Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDA8F10312 for ; Tue, 3 Sep 2013 21:59:52 +0000 (UTC) Received: (qmail 99253 invoked by uid 500); 3 Sep 2013 21:59:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 99215 invoked by uid 500); 3 Sep 2013 21:59:52 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 99152 invoked by uid 99); 3 Sep 2013 21:59:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:59:52 +0000 Date: Tue, 3 Sep 2013 21:59:52 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9422) AsyncProcess and HTable will submit the same mutation twice if there is an error locating region. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757134#comment-13757134 ] Elliott Clark commented on HBASE-9422: -------------------------------------- Yeah it's not even that big a deal as it is. Just something I noticed while trying to dig into the client. Thanks. > AsyncProcess and HTable will submit the same mutation twice if there is an error locating region. > ------------------------------------------------------------------------------------------------- > > Key: HBASE-9422 > URL: https://issues.apache.org/jira/browse/HBASE-9422 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 0.98.0, 0.96.0 > Reporter: Elliott Clark > Assignee: Nicolas Liochon > Priority: Minor > > HTable#backgroundFlushCommits calls AsyncProcess#submit > AsyncProcess#submit tries to get the region location but doesn't remove the mutation from the write buffer. If it doesn't get the location the mutation is added to the error list. > then HTable#backgroundFlushCommits takes all mutations from the error list and adds them to the write buffer list. > This should result in two references to the same mutation being in the write buffer list twice. It's not a big deal as two of the same mutation being executed should be ideponent (unless the two puts are executed across ms boundaries.) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira