hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-3787) Increment is non-idempotent but client retries RPC
Date Fri, 15 Apr 2011 07:56:06 GMT
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

View raw message