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

Ted Yu commented on HBASE-16932:
--------------------------------

{code}
255           System.arraycopy(nextRow, row.length, MAX_BYTE_ARRAY, 0, 
MAX_BYTE_ARRAY.length);
{code}
What's the intention of the above copy ?

Isn't the last MAX_BYTE_ARRAY.length bytes of nextRow left uninitialized after 
the copy ?

> Implement small scan
> --------------------
>
>                 Key: HBASE-16932
>                 URL: https://issues.apache.org/jira/browse/HBASE-16932
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16932-v1.patch, HBASE-16932.patch
>
>
> As said in HBASE-16838, we should have a scan method that returns a 
> CompletaFuture for the whole result. It is suitable for a small scan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to