You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Mark Robert Miller (Jira)" <ji...@apache.org> on 2020/03/09 23:49:00 UTC

[jira] [Created] (HBASE-23952) Address thread safety issue with Map used in BufferCallBeforeInitHandler.

Mark Robert Miller created HBASE-23952:
------------------------------------------

             Summary: Address thread safety issue with Map used in BufferCallBeforeInitHandler.
                 Key: HBASE-23952
                 URL: https://issues.apache.org/jira/browse/HBASE-23952
             Project: HBase
          Issue Type: Bug
    Affects Versions: master
            Reporter: Mark Robert Miller


id2Call is a HashMap and has a call back method that accesses it that can be run via an executor as well as another method accessing it that can be run from a different thread.

id2Call should likely be a ConcurrentHashMap to be shared like this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)