Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD68FD136 for ; Wed, 10 Oct 2012 12:09:06 +0000 (UTC) Received: (qmail 55109 invoked by uid 500); 10 Oct 2012 12:09:06 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 54960 invoked by uid 500); 10 Oct 2012 12:09:04 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 54901 invoked by uid 99); 10 Oct 2012 12:09:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 12:09:03 +0000 Date: Wed, 10 Oct 2012 12:09:02 +0000 (UTC) From: "Billie Rinaldi (JIRA)" To: notifications@accumulo.apache.org Message-ID: <858495380.19415.1349870943301.JavaMail.jiratomcat@arcas> In-Reply-To: <752838057.14709.1349793422613.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (ACCUMULO-794) FirstEntryInRowIterator can scan through entire last row in range MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473168#comment-13473168 ] Billie Rinaldi commented on ACCUMULO-794: ----------------------------------------- You could use the CountingIterator (or some variation thereof) as the source of the FirstEntryInRowIterator, wrapping your test source. That would tell you how many times next() is called. > FirstEntryInRowIterator can scan through entire last row in range > ----------------------------------------------------------------- > > Key: ACCUMULO-794 > URL: https://issues.apache.org/jira/browse/ACCUMULO-794 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.4.1 > Reporter: Adam Fuchs > Assignee: Adam Fuchs > Fix For: 1.5.0, 1.4.2 > > > If the range passed to the FirstEntryInRowIterator is seeked with a Range that has an end key, the FirstEntryInRowIterator will scan through all of the entries in the last row that match the range. This is due to a logic bug -- the if statement on line 93 needs an else clause. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira