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)

Reply via email to