hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9518) getFakedKey() improvement
Date Sat, 14 Sep 2013 13:28:52 GMT

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

Liang Xie commented on HBASE-9518:

Hi [~stack] you can see the new TestKeyValue case:
if the last kv of previous block and the first kv of current block have same postfix and just
1 offset diff, e.g.  100abcdefg and 101abcdefg,
before 9518, the getShortMidpointKey() will fallback to the default right kv, say 101abcdefg.
after 9518, it'll return "101", a shorter faked value, still reasonable, right? :)
And i found this corner case existing in current hbase test cases as well, so i'd like to
let it go into community codebase also.
> getFakedKey() improvement
> -------------------------
>                 Key: HBASE-9518
>                 URL: https://issues.apache.org/jira/browse/HBASE-9518
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 0.98.0, 0.96.1
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>         Attachments: HBASE-9518.txt, HBASE-9518-v2.txt
> make generating faked key algo more aggressive

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

View raw message