You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Liyin Tang (Created) (JIRA)" <ji...@apache.org> on 2012/04/16 19:18:18 UTC

[jira] [Created] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

[89-fb] Multiget API may return incomplete resutls
--------------------------------------------------

                 Key: HBASE-5799
                 URL: https://issues.apache.org/jira/browse/HBASE-5799
             Project: HBase
          Issue Type: Bug
            Reporter: Liyin Tang


There is a serious bug in the multiget which will cause the multiget function only returns part of the results.

In the process function: 
The initial region is set before sorting the input list.
So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.

So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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

        

[jira] [Assigned] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

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

Liyin Tang reassigned HBASE-5799:
---------------------------------

    Assignee: Liyin Tang
    
> [89-fb] Multiget API may return incomplete resutls
> --------------------------------------------------
>
>                 Key: HBASE-5799
>                 URL: https://issues.apache.org/jira/browse/HBASE-5799
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>
> There is a serious bug in the multiget which will cause the multiget function only returns part of the results.
> In the process function: 
> The initial region is set before sorting the input list.
> So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.
> So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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

        

[jira] [Commented] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257036#comment-13257036 ] 

stack commented on HBASE-5799:
------------------------------

@Liyin Do we need this out on trunk?  What commit on 0.89fb was this fix?  Thanks.
                
> [89-fb] Multiget API may return incomplete resutls
> --------------------------------------------------
>
>                 Key: HBASE-5799
>                 URL: https://issues.apache.org/jira/browse/HBASE-5799
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>
> There is a serious bug in the multiget which will cause the multiget function only returns part of the results.
> In the process function: 
> The initial region is set before sorting the input list.
> So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.
> So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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

        

[jira] [Updated] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

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

Liyin Tang updated HBASE-5799:
------------------------------

    Attachment: HBASE-5799.patch
    
> [89-fb] Multiget API may return incomplete resutls
> --------------------------------------------------
>
>                 Key: HBASE-5799
>                 URL: https://issues.apache.org/jira/browse/HBASE-5799
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: HBASE-5799.patch
>
>
> There is a serious bug in the multiget which will cause the multiget function only returns part of the results.
> In the process function: 
> The initial region is set before sorting the input list.
> So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.
> So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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

        

[jira] [Resolved] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

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

Liyin Tang resolved HBASE-5799.
-------------------------------

    Resolution: Fixed

Fixed internally and will be committed in 89-fb branch.
                
> [89-fb] Multiget API may return incomplete resutls
> --------------------------------------------------
>
>                 Key: HBASE-5799
>                 URL: https://issues.apache.org/jira/browse/HBASE-5799
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>
> There is a serious bug in the multiget which will cause the multiget function only returns part of the results.
> In the process function: 
> The initial region is set before sorting the input list.
> So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.
> So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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

        

[jira] [Commented] (HBASE-5799) [89-fb] Multiget API may return incomplete resutls

Posted by "Liyin Tang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260065#comment-13260065 ] 

Liyin Tang commented on HBASE-5799:
-----------------------------------

@Stack, Actually, this is an old bug in fb-89 branch only. No need to fix it in trunk.
Also attach the fix here.
                
> [89-fb] Multiget API may return incomplete resutls
> --------------------------------------------------
>
>                 Key: HBASE-5799
>                 URL: https://issues.apache.org/jira/browse/HBASE-5799
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: HBASE-5799.patch
>
>
> There is a serious bug in the multiget which will cause the multiget function only returns part of the results.
> In the process function: 
> The initial region is set before sorting the input list.
> So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.
> So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

--
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