You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/07/01 17:15:00 UTC
[jira] [Created] (HBASE-27173) Consider adding ResourceLeakDetector to RefCnt
Bryan Beaudreault created HBASE-27173:
-----------------------------------------
Summary: Consider adding ResourceLeakDetector to RefCnt
Key: HBASE-27173
URL: https://issues.apache.org/jira/browse/HBASE-27173
Project: HBase
Issue Type: Improvement
Reporter: Bryan Beaudreault
In my quest to figure out HBASE-27170, I ended up adding ResourceLeakDetector to RefCnt in my local fork. This immediately reports the leak to the logs, making it hard to miss. ResourceLeakDetector is already active in the netty layer, and the default state is designed to be very low overhead. We could add it directly to RefCnt, or make it further configurable if we're concerned about performance. Either way it's good to have and document, to aid future leak investigations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)