[ 
https://issues.apache.org/jira/browse/HDDS-13939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-13939:
----------------------------------
    Labels: pull-request-available  (was: )

> Potential channel leak in StreamingClient.stream() method
> ---------------------------------------------------------
>
>                 Key: HDDS-13939
>                 URL: https://issues.apache.org/jira/browse/HDDS-13939
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Huang Guan Hao
>            Assignee: Huang Guan Hao
>            Priority: Major
>              Labels: pull-request-available
>
> The `StreamingClient.stream()` method creates a Netty channel but doesn't 
> explicitly close it when `await()` operations timeout. While 
> `EventLoopGroup.shutdownGracefully()` eventually closes channels when 
> `StreamingClient.close()` is called, channels may remain open until then, 
> potentially causing resource leaks if `close()` is not called promptly.
> https://github.com/apache/ozone/blame/f4660a254a1bc89d78dda55c5543e4f93f1f5ac4/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/stream/StreamingClient.java#L88-L104



--
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