You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "huaxiang sun (JIRA)" <ji...@apache.org> on 2017/01/09 19:51:58 UTC
[jira] [Resolved] (HBASE-17394) Correct TimeRangeTracker#init()
logic
[ https://issues.apache.org/jira/browse/HBASE-17394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huaxiang sun resolved HBASE-17394.
----------------------------------
Resolution: Invalid
The logic is correct, the definition is [min, max], I added comments through HBASE-12148 to make it clear and hopefully, it will help code reading a bit easier.
> Correct TimeRangeTracker#init() logic
> -------------------------------------
>
> Key: HBASE-17394
> URL: https://issues.apache.org/jira/browse/HBASE-17394
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Reporter: huaxiang sun
> Assignee: huaxiang sun
> Priority: Minor
>
> It is supposed to be [minimumTimestamp, maximumTimestamp), the following logic suggests [minimumTimestamp, maximumTimestamp]
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/TimeRangeTracker.java#L81
> needs to be modified to set(l, l + 1)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)