Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 15925 invoked from network); 15 Apr 2011 07:56:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2011 07:56:47 -0000 Received: (qmail 25390 invoked by uid 500); 15 Apr 2011 07:56:47 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25358 invoked by uid 500); 15 Apr 2011 07:56:46 -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 25187 invoked by uid 99); 15 Apr 2011 07:56:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 07:56:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 07:56:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2418CA237B for ; Fri, 15 Apr 2011 07:56:06 +0000 (UTC) Date: Fri, 15 Apr 2011 07:56:06 +0000 (UTC) From: "dhruba borthakur (JIRA)" To: issues@hbase.apache.org Message-ID: <1670124297.60098.1302854166144.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-3787) Increment is non-idempotent but client retries RPC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Increment is non-idempotent but client retries RPC -------------------------------------------------- Key: HBASE-3787 URL: https://issues.apache.org/jira/browse/HBASE-3787 Project: HBase Issue Type: Bug Components: client Reporter: dhruba borthakur Assignee: dhruba borthakur The HTable.increment() operation is non-idempotent. The client retries the increment RPC a few times (as specified by configuration) before throwing an error to the application. This makes it possible that the same increment call be applied twice at the server. For increment operations, is it better to use HConnectionManager.getRegionServerWithoutRetries()? Another option would be to enhance the IPC module to make the RPC server correctly identify if the RPC is a retry attempt and handle accordingly. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira