You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/12 10:08:05 UTC
[GitHub] [hbase] ramkrish86 opened a new pull request #614: HBASE-22929 -
MemStoreLAB ChunkCreator may memory leak(ram)
ramkrish86 opened a new pull request #614: HBASE-22929 - MemStoreLAB ChunkCreator may memory leak(ram)
URL: https://github.com/apache/hbase/pull/614
The leak is caused as said by @binlijin. The updateReaders() has already the memstoreScanners() list and so that is not getting closed.
We need to close the scanners if the close() has already happened. The test case added here helps to identify the problem. Without the patch the test fails and with patch the test passes.
@chenxu14 - Pls take a look if this will solve the problem.
@binlijin - I just realised that the memstoreScanners() were passed by the Hstore#notifyChangedReadersObservers() and not got from the updateReaders().
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services