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

Anoop Sam John commented on HBASE-10597:
----------------------------------------

ByteBufferArray#getMultiple()  returns what len passed to it. Fine..
But then you can handle the ByteBufferIOEngine#read() return value there 
itself?   

> IOEngine#read() should return the number of bytes transferred
> -------------------------------------------------------------
>
>                 Key: HBASE-10597
>                 URL: https://issues.apache.org/jira/browse/HBASE-10597
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 10597-v1.txt
>
>
> IOEngine#read() is called by BucketCache#getBlock().
> IOEngine#read() should return the number of bytes transferred so that 
> BucketCache#getBlock() can check this return value against the length 
> obtained from bucketEntry.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to