You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2019/05/21 23:38:00 UTC

[jira] [Commented] (PHOENIX-5291) Some cases where Phoenix does close scanners

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

Lars Hofhansl commented on PHOENIX-5291:
----------------------------------------

Case 1: UngroupedAggregateRegionObserver.preCompactScannerOpen(...) when an index is disabled. We return a new StoreScanner (that does not wrap the existing one passed) and neglect to close the passed scanner.

> Some cases where Phoenix does close scanners
> --------------------------------------------
>
>                 Key: PHOENIX-5291
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5291
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Priority: Major
>
> With HBase 1.5 and later this is a disaster, as it causes the wrong reference counting of HFiles in HBase, and those subsequently will *never* be removed until the region closes and reopens for any reason.
> We found at least two cases... See comments below.



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