You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/11/02 02:13:44 UTC

[jira] Created: (HBASE-977) Arcane HStoreKey comparator bug

Arcane HStoreKey comparator bug
-------------------------------

                 Key: HBASE-977
                 URL: https://issues.apache.org/jira/browse/HBASE-977
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack
             Fix For: 0.19.0


While looking at another issue, I tripped over a weird HStoreKey Comparator bug.  The bug would throw us to wrong side during our binary search and we'd return null for a key in a mapfile even though the wanted key is present.

It happens when we do our trick with the BeforeThisHStoreKey in mapfiles; i.e. return the key before this one but NOT this one.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-977) Arcane HStoreKey comparator bug

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-977:
------------------------

    Attachment: hbase-977.patch

Fix for HSK.Comparator and because HSK and BeforeThisHSK are now tied together because HSK.Comparator must know about BTHSK (they were before this patch but now are more so), I moved BTHSK into HSK.

> Arcane HStoreKey comparator bug
> -------------------------------
>
>                 Key: HBASE-977
>                 URL: https://issues.apache.org/jira/browse/HBASE-977
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: hbase-977.patch
>
>
> While looking at another issue, I tripped over a weird HStoreKey Comparator bug.  The bug would throw us to wrong side during our binary search and we'd return null for a key in a mapfile even though the wanted key is present.
> It happens when we do our trick with the BeforeThisHStoreKey in mapfiles; i.e. return the key before this one but NOT this one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-977) Arcane HStoreKey comparator bug

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reassigned HBASE-977:
---------------------------

    Assignee: stack

> Arcane HStoreKey comparator bug
> -------------------------------
>
>                 Key: HBASE-977
>                 URL: https://issues.apache.org/jira/browse/HBASE-977
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.19.0
>
>         Attachments: hbase-977.patch
>
>
> While looking at another issue, I tripped over a weird HStoreKey Comparator bug.  The bug would throw us to wrong side during our binary search and we'd return null for a key in a mapfile even though the wanted key is present.
> It happens when we do our trick with the BeforeThisHStoreKey in mapfiles; i.e. return the key before this one but NOT this one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-977) Arcane HStoreKey comparator bug

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-977.
-------------------------

    Resolution: Fixed

Committed.

> Arcane HStoreKey comparator bug
> -------------------------------
>
>                 Key: HBASE-977
>                 URL: https://issues.apache.org/jira/browse/HBASE-977
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.19.0
>
>         Attachments: hbase-977.patch
>
>
> While looking at another issue, I tripped over a weird HStoreKey Comparator bug.  The bug would throw us to wrong side during our binary search and we'd return null for a key in a mapfile even though the wanted key is present.
> It happens when we do our trick with the BeforeThisHStoreKey in mapfiles; i.e. return the key before this one but NOT this one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.