accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Halloran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-855) Patch to remove acquisition of redundant lock: LiveTServerSet in org.apache.accumulo.server.master
Date Wed, 14 Nov 2012 18:24:12 GMT
Tim Halloran created ACCUMULO-855:
-------------------------------------

             Summary: Patch to remove acquisition of redundant lock: LiveTServerSet in org.apache.accumulo.server.master
                 Key: ACCUMULO-855
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-855
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Tim Halloran
            Priority: Minor


A lock on the receiver is acquired twice by this method. This has two drawbacks (a) it slows
performance and (b) is confusing.

A patch is attached proposing the fix -- I left the method synchronized and removed the lock
acquisition in the method to match the other methods in the class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message