hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guilherme Mauro Germoglio Barbosa (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2969) missing sync in HTablePool.getTable()
Date Wed, 08 Sep 2010 18:05:34 GMT

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

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

    Attachment: HBASE-2969.patch

> 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.


Mime
View raw message