You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2017/12/17 03:53:00 UTC

[jira] [Created] (HBASE-19534) Document risks of RegionObserver.preStoreScannerOpen

Lars Hofhansl created HBASE-19534:
-------------------------------------

             Summary: Document risks of RegionObserver.preStoreScannerOpen
                 Key: HBASE-19534
                 URL: https://issues.apache.org/jira/browse/HBASE-19534
             Project: HBase
          Issue Type: Bug
            Reporter: Lars Hofhansl
            Assignee: Lars Hofhansl


We just had an outage because we used preStoreScannerOpen, which, in our case, created a new StoreScanner. In HBase versions before 1.3 this caused a definite memory leak, a reference to the old StoreScanner (if not null) would be held by the store until the region is closed.

The 1.3 and later there's no such leak, but still the old scanner is not properly closed.

This should be added to the Javadoc and the ZooKeeperScanPolicyObserver example should be fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)