hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14449) Rewrite deadlock prevention due to concurrent connection close
Date Fri, 18 Sep 2015 15:25:05 GMT
Ted Yu created HBASE-14449:
------------------------------

             Summary: Rewrite deadlock prevention due to concurrent connection close
                 Key: HBASE-14449
                 URL: https://issues.apache.org/jira/browse/HBASE-14449
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Assignee: Ted Yu


The deadlock prevention approach used in HBASE-14241 introduces unnecessary logic which is
not intuitive.

Depending on the value for config hbase.ipc.client.specificThreadForWriting , there may or
may not be CallSender threads running.

The attached patch simplifies deadlock prevention by using a Set which represents the Connections
to be closed. Outside the synchronized (connections) block, this Set is iterated where the
Connections are closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message