hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12839) Remove synchronization in ServerStatisticsTracker
Date Tue, 13 Jan 2015 00:10:34 GMT

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

Andrew Purtell updated HBASE-12839:
-----------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Pushed to master. Thanks for the ack [~eclark]

> Remove synchronization in ServerStatisticsTracker
> -------------------------------------------------
>
>                 Key: HBASE-12839
>                 URL: https://issues.apache.org/jira/browse/HBASE-12839
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12839.patch, HBASE-12839.patch
>
>
> Remove synchronization in ServerStatisticTracker. We can use putIfAbsent instead of a
synchronized block to add ServerStatistic objects to the concurrent statistics hashmap. 



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

Mime
View raw message