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

Ted Yu commented on HBASE-10624:
--------------------------------

TimeRangeTracker#write and TimeRange#readFields should be covered by 
'synchronized' keyword.

What do you think ?

> Fix 2 new findbugs warnings
> ---------------------------
>
>                 Key: HBASE-10624
>                 URL: https://issues.apache.org/jira/browse/HBASE-10624
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> Inconsistent synchronization of 
> org.apache.hadoop.hbase.regionserver.TimeRangeTracker.maximumTimestamp; 
> locked 66% of time
> {code}
> In class org.apache.hadoop.hbase.regionserver.TimeRangeTracker
> Field org.apache.hadoop.hbase.regionserver.TimeRangeTracker.maximumTimestamp
> Synchronized 66% of the time
> {code}
> Inconsistent synchronization of 
> org.apache.hadoop.hbase.regionserver.TimeRangeTracker.minimumTimestamp; 
> locked 62% of time
> {code}
> In class org.apache.hadoop.hbase.regionserver.TimeRangeTracker
> Field org.apache.hadoop.hbase.regionserver.TimeRangeTracker.minimumTimestamp
> Synchronized 62% of the time
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to