hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6579) Unnecessary KV order check in StoreScanner
Date Wed, 15 Aug 2012 19:13:38 GMT

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

Hudson commented on HBASE-6579:
-------------------------------

Integrated in HBase-0.94 #395 (See [https://builds.apache.org/job/HBase-0.94/395/])
    HBASE-6579 Unnecessary KV order check in StoreScanner (Revision 1373540)

     Result = FAILURE
larsh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java

                
> Unnecessary KV order check in StoreScanner
> ------------------------------------------
>
>                 Key: HBASE-6579
>                 URL: https://issues.apache.org/jira/browse/HBASE-6579
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.2
>
>         Attachments: 6579.txt
>
>
> In StoreScanner.next(List<KeyValue>, int, String) I find this code:
> {code}
>       // Check that the heap gives us KVs in an increasing order.
>       if (prevKV != null && comparator != null
>           && comparator.compare(prevKV, kv) > 0) {
>         throw new IOException("Key " + prevKV + " followed by a " +
>             "smaller key " + kv + " in cf " + store);
>       }
>       prevKV = kv;
> {code}
> So this checks for bugs in the HFiles or the scanner code. It needs to compare each KVs
with its predecessor. This seems unnecessary now, I propose that we remove this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message