phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5296) Ensure store file reader refcount is zero at end of relevant unit tests
Date Mon, 27 May 2019 19:28:00 GMT

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

Lars Hofhansl commented on PHOENIX-5296:
----------------------------------------

Moving to 4.15.1, feel free to pull in if there's a patch.

> Ensure store file reader refcount is zero at end of relevant unit tests
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-5296
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5296
>             Project: Phoenix
>          Issue Type: Test
>            Reporter: Andrew Purtell
>            Priority: Major
>             Fix For: 5.1.0, 4.15.1
>
>
> Unit and integration tests for functional areas where the implementation wraps scanners
and uses a delegate pattern should check at the end of the test that no scanners were leaked
(check that all scanners including the inner scanners were properly closed) by testing that
the store reader reference count is zero on all stores. 
> HBASE-22459 will offer a new metric and API which exposes this information. 



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

Mime
View raw message