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

Matteo Bertozzi resolved HBASE-11213.
-------------------------------------

    Resolution: Invalid

There is no concurrent access to that map.
restoreHdfsRegions() is populating and there is no concurrency there.
And RestoreMetaChanges.updateMetaParentRegions() is just reading from the map, 
with no one doing updates in the mean time. Everything was written before 
returning RestoreMetaChanges.

> RestoreSnapshotHelper#restoreHdfsRegions() accesses parentsMap without 
> synchronization
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-11213
>                 URL: https://issues.apache.org/jira/browse/HBASE-11213
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Trivial
>
> At line 175:
> {code}
>     RestoreMetaChanges metaChanges = new RestoreMetaChanges(parentsMap);
> {code}
> Access to parentsMap should be synchronized.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to