Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C9E7200C00 for ; Wed, 4 Jan 2017 01:14:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 27DEA160B4A; Wed, 4 Jan 2017 00:14:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97EAC160B43 for ; Wed, 4 Jan 2017 01:13:59 +0100 (CET) Received: (qmail 61536 invoked by uid 500); 4 Jan 2017 00:13:58 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 61506 invoked by uid 99); 4 Jan 2017 00:13:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 00:13:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 91C0D2C1F54 for ; Wed, 4 Jan 2017 00:13:58 +0000 (UTC) Date: Wed, 4 Jan 2017 00:13:58 +0000 (UTC) From: "huaxiang sun (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17394) Correct TimeRangeTracker#init() logic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 Jan 2017 00:14:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15796647#comment-15796647 ] huaxiang sun commented on HBASE-17394: -------------------------------------- Update, the current logic is correct, for TimeRangeTracker, it is [minimumTimestamp, maximumTimestamp], when it converts to TimeRange, the TimeRange is also [minStamp, maxStamp]. I am going to update comments in the code. > 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)