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

Guilherme Mauro Germoglio Barbosa updated HBASE-2969:
-----------------------------------------------------

    Status: Open  (was: Patch Available)

Sorry. I've used the wrong action.

> missing sync in HTablePool.getTable()
> -------------------------------------
>
>                 Key: HBASE-2969
>                 URL: https://issues.apache.org/jira/browse/HBASE-2969
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.89.20100621
>            Reporter: Guilherme Mauro Germoglio Barbosa
>            Assignee: Guilherme Mauro Germoglio Barbosa
>            Priority: Minor
>         Attachments: HBASE-2969.patch
>
>
> Considering that the method _getTable(String)_ in 
> _org.apache.hadoop.hbase.client.HTablePool_ is invoked by multiple threads, 
> it may happen that while _'queue == null'_ is true, it is possible to have a 
> queue mapped to that name into the tables map when _'tables.put(tableName, 
> queue)'_ is executed. 
> However, I don't think it will cause any harm because the overwritten queue 
> will eventually be garbage-collected. :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to