You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2022/04/11 17:13:00 UTC

[jira] [Created] (HBASE-26944) Possible resource leak while creating new region scanner

Pankaj Kumar created HBASE-26944:
------------------------------------

             Summary: Possible resource leak while creating new region scanner
                 Key: HBASE-26944
                 URL: https://issues.apache.org/jira/browse/HBASE-26944
             Project: HBase
          Issue Type: Bug
            Reporter: Pankaj Kumar
            Assignee: Pankaj Kumar


We will miss to close the region scanner when RegionObserver#postScannerOpen impl throws exception.
https://github.com/apache/hbase/blob/1d8a5bf0e3246a1df11f0aa9215f29e6fbc4ecb1/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java#L3203

https://github.com/apache/hbase/blob/1d8a5bf0e3246a1df11f0aa9215f29e6fbc4ecb1/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java#L3207



--
This message was sent by Atlassian Jira
(v8.20.1#820001)