You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2015/12/29 12:52:49 UTC

[jira] [Created] (HBASE-15050) Block Ref counting does not work in Region Split cases.

ramkrishna.s.vasudevan created HBASE-15050:
----------------------------------------------

             Summary: Block Ref counting does not work in Region Split cases.
                 Key: HBASE-15050
                 URL: https://issues.apache.org/jira/browse/HBASE-15050
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: ramkrishna.s.vasudevan
            Assignee: ramkrishna.s.vasudevan
            Priority: Critical
             Fix For: 2.0.0


The reference counting on the blocks does not work correctly when the HalfStorefileReader is used for compaction/scans. 
The reason is that getFirstKey and getLastKey API create a new scanner but does not do the needed close() call and because of that we do not decrement the count on the blocks. The same impact will also be observed on the ref count that we maintain on the reader. Issue found when I was trying to test some other feature with lot of evictions. 



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