hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Jindal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-6390) append() and increment() may result in inconsistent result on retries.
Date Fri, 13 Jul 2012 04:31:33 GMT
Ashutosh Jindal created HBASE-6390:
--------------------------------------

             Summary: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message