[ 
https://issues.apache.org/jira/browse/HDDS-8261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705435#comment-17705435
 ] 

Duong commented on HDDS-8261:
-----------------------------

We can also scan for other resource leak patterns like:
 * GRPC:

{code:java}
org.apache.ratis.thirdparty.io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference
 cleanQueue
SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=1495, target=192.168.0.3:49868} 
was not shutdown properly!!! ~*~*~* {code}

 * Netty (https://netty.io/wiki/reference-counted-objects.html):

{code:java}
LEAK: ByteBuf.release() was not called before it's garbage-collected.  {code}

> Fail integration tests if RocksDB objects are leaked
> ----------------------------------------------------
>
>                 Key: HDDS-8261
>                 URL: https://issues.apache.org/jira/browse/HDDS-8261
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: test
>            Reporter: Duong
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> To catch RocksDB object leaks earlier, we should fail integration tests 
> proactively, if leak is detected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to