hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9422) AsyncProcess and HTable will submit the same mutation twice if there is an error locating region.
Date Tue, 03 Sep 2013 21:03:51 GMT
Elliott Clark created HBASE-9422:
------------------------------------

             Summary: 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
            Reporter: Elliott Clark
            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

Mime
View raw message