jbewing opened a new pull request, #5578:
URL: https://github.com/apache/hbase/pull/5578

   ### What
   This PR updates ClientSideRegionScanner to close its instances of the 
MobFileCache and the BlockCache. In normal region server operation, the 
shutdown of these resources is typically handled by RegionServerServices which 
isn't present in the ClientSideRegionScanner. Since the ClientSideRegionScanner 
instantiates these resources, it should handling shutting them down as well to 
avoid resource leaks.
   
   ### Testing
   I've verified that this works locally with some debug breakpoints. I'd love 
to write some automated test behavior for this, but unsure how to proceed 
there. Would appreciate any pointers.
   
   [HBASE-28224](https://issues.apache.org/jira/browse/HBASE-28224)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to