You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/01/31 05:15:16 UTC

[jira] [Resolved] (HBASE-6390) append() and increment() may result in inconsistent result on retries.

     [ https://issues.apache.org/jira/browse/HBASE-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-6390.
-----------------------------------

    Resolution: Duplicate

Dup of HBASE-3787
                
> append() and increment() may result in inconsistent result on retries.
> ----------------------------------------------------------------------
>
>                 Key: HBASE-6390
>                 URL: https://issues.apache.org/jira/browse/HBASE-6390
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Ashutosh Jindal
>
> append() and increment() api can give inconsistent result in following scenarios :
> 1- For eg, if the client does not receive the response in the specified time, it retries.  Now the first call to increment/append is already done and this retry will again make the operation to succeed.  
> 2- Now if the sync() to WAL fails we get an IOException, on getting an exception there is a retry done which again results in the doing the increment/append again.  
> When may need some sort of roll back for the second problem.
> For the first one we need to see how to handle this.

--
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