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)

Reply via email to