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 501CE200B72 for ; Fri, 22 Jul 2016 02:58:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F265160A73; Fri, 22 Jul 2016 00:58:22 +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 C05E4160A7C for ; Fri, 22 Jul 2016 02:58:21 +0200 (CEST) Received: (qmail 13522 invoked by uid 500); 22 Jul 2016 00:58:20 -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 13210 invoked by uid 99); 22 Jul 2016 00:58:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 00:58:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AC2202C0D5F for ; Fri, 22 Jul 2016 00:58:20 +0000 (UTC) Date: Fri, 22 Jul 2016 00:58:20 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13704) Hbase throws OutOfOrderScannerNextException when MultiRowRangeFilter is used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 00:58:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-13704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-13704: ----------------------------------- Fix Version/s: 0.98.21 > Hbase throws OutOfOrderScannerNextException when MultiRowRangeFilter is used > ---------------------------------------------------------------------------- > > Key: HBASE-13704 > URL: https://issues.apache.org/jira/browse/HBASE-13704 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 1.1.0 > Reporter: Aleksandr Maksymenko > Assignee: Aleksandr Maksymenko > Fix For: 2.0.0, 1.2.0, 1.1.1, 0.98.21 > > Attachments: 13704-v1.txt > > > When using filter MultiRowRangeFilter with ranges closed to each other that there are no rows between ranges, then OutOfOrderScannerNextException is throwed. > In filterRowKey method when range is switched to the next range, currentReturnCode is set to SEEK_NEXT_USING_HINT (MultiRowRangeFilter: 118 in v1.1.0). But if new range is already contain this row, then we should include this row, not to seek for another one. > Replacing line 118 to this code seems to be working fine: > {code} > if (range.contains(buffer, offset, length)) { > currentReturnCode = ReturnCode.INCLUDE; > } else { > currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)