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 Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 18:03:00 UTC

[jira] [Resolved] (HBASE-9422) AsyncProcess and HTable will submit the same mutation twice if there is an error locating region.

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

Andrew Kyle Purtell resolved HBASE-9422.
----------------------------------------
      Assignee:     (was: Nicolas Liochon)
    Resolution: Not A Problem

> 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
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Elliott Neil 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 was sent by Atlassian Jira
(v8.20.7#820007)