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

Jonathan Gray commented on HBASE-1615:
--------------------------------------

Issue is, we have a local readBlock in CompactionReader but that the delegate 
Reader does not use our cacheBlock method.

I think this might be much easier if we just upgrade "block should be cached" 
to a passed boolean to HFile Reader and Scanner instantation, rather than all 
this subclassing, delegating, and such.

> HBASE-1597 introduced a bug when compacting after a split
> ---------------------------------------------------------
>
>                 Key: HBASE-1615
>                 URL: https://issues.apache.org/jira/browse/HBASE-1615
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Jonathan Gray
>            Assignee: stack
>             Fix For: 0.20.0
>
>         Attachments: 1615-v2.patch, 1615-v3.patch, HBASE-1615-v4.patch, 
> hfile.patch
>
>
> The way HBASE-1597 instantiated the CompactionReader ignored whether the 
> Reader it came from was a half reader or not.
> Need to reimplement CompactionReader.

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

Reply via email to