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

Zheng Hu commented on HBASE-22005:
----------------------------------

Seems it will be better for others reviewing , if I divide this big patch into 
two seperate patches:
1.  Rewrite the block reading methods by using hbase.nio.ByteBuff.  Most of the 
work will be done in HFileBlock and the newly created BlockIOUtils.
2.  Use ByteBuff's refcnt to track life cycle of data block in rpc path,  we 
should consider each case in RPC path, whether the ByteBuff can release or not.
Let me file an new JIRA.

> Use ByteBuff's refcnt to track the life cycle of data block
> -----------------------------------------------------------
>
>                 Key: HBASE-22005
>                 URL: https://issues.apache.org/jira/browse/HBASE-22005
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>            Priority: Major
>         Attachments: HBASE-22005.HBASE-21879.v1.patch, 
> HBASE-22005.HBASE-21879.v2.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to