hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11923) Potential race condition in RecoverableZookeeper.checkZk()
Date Wed, 10 Sep 2014 03:21:29 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127986#comment-14127986
] 

Hudson commented on HBASE-11923:
--------------------------------

SUCCESS: Integrated in HBase-0.94-JDK7 #179 (See [https://builds.apache.org/job/HBase-0.94-JDK7/179/])
HBASE-11923 Potential race condition in RecoverableZookeeper.checkZk() (Lars Hofhansl) (enis:
rev 045f41888ac51130b8696498ac51704eb9395046)
* src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java


> Potential race condition in RecoverableZookeeper.checkZk()
> ----------------------------------------------------------
>
>                 Key: HBASE-11923
>                 URL: https://issues.apache.org/jira/browse/HBASE-11923
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.99.0, 2.0.0, 0.98.7, 0.94.24
>
>         Attachments: 11923-trunk.txt, hbase-11923-0.94.patch
>
>
> [~apurtell] pointed out a potential race condition in RecoverableZookeeper.checkZk()
that I introduced in parent.
> If multiple threads would enter that method at the same time without a valid Zookeeper
reference, we could leak Zookeeper objects.
> Since this is not a on a hot code path we should just synchronize the two involved methods.



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

Mime
View raw message