You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chenxu (JIRA)" <ji...@apache.org> on 2018/03/24 09:16:00 UTC

[jira] [Commented] (HBASE-19704) region split happened when it contains reference file

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

chenxu commented on HBASE-19704:
--------------------------------

we need close the changedReadersObservers first when do HStore#close()
so the refCount of the target file can be reduced

> region split happened when it contains reference file
> -----------------------------------------------------
>
>                 Key: HBASE-19704
>                 URL: https://issues.apache.org/jira/browse/HBASE-19704
>             Project: HBase
>          Issue Type: Bug
>            Reporter: chenxu
>            Assignee: chenxu
>            Priority: Major
>         Attachments: HBASE-19704-master-v1.patch
>
>
> In our product cluster, some Region’s dir contains reference file, but it also splited, that's violate ConstantSizeRegionSplitPolicy.shouldSplit() method, and CatalogJanitor can’t collect it.
> I suspect it was due to HBASE-13082 which we recently introduced, after introduce this feature, the comapcted files were removed asynchronously. when region split happens and HStore.close() execute, if compactedfiles can’t satisfy (r != null && r.isCompactedAway() && !r.isReferencedInReads()) it will be always exist.



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