You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Benoit Sigoure (JIRA)" <ji...@apache.org> on 2010/07/24 05:20:50 UTC

[jira] Updated: (HBASE-2874) Unnecessary double-synchronization in ZooKeeperWrapper

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

Benoit Sigoure updated HBASE-2874:
----------------------------------

    Status: Patch Available  (was: Open)

> Unnecessary double-synchronization in ZooKeeperWrapper
> ------------------------------------------------------
>
>                 Key: HBASE-2874
>                 URL: https://issues.apache.org/jira/browse/HBASE-2874
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Trivial
>         Attachments: trunk-HBASE-2874-Unnecessary-double-synchronization-in-Zoo.patch
>
>
> The {{listeners}} attribute is a synchronized collection but it's only accessed from 3 methods that are already marked as {{synchronized}}.  The double-synchronization is unnecessary and can be eliminated.

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