You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/11 18:11:00 UTC

[jira] [Commented] (HBASE-27189) NettyServerRpcConnection is not properly closed when the netty channel is closed

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

Andrew Kyle Purtell commented on HBASE-27189:
---------------------------------------------

bq.  Let me think whether we need to do some refactoring before fixing it, to make the code cleaner, or just a simple change to fix the problem first...

2.5.0 is significantly delayed. Let's do a code fix to unblock it, and a refactor later, to clean up. 

> NettyServerRpcConnection is not properly closed when the netty channel is closed
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-27189
>                 URL: https://issues.apache.org/jira/browse/HBASE-27189
>             Project: HBase
>          Issue Type: Bug
>          Components: netty, rpc
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Blocker
>             Fix For: 2.5.0, 3.0.0-alpha-4, 2.4.14
>
>
> We have a close method for NettyServerRpcConnection where we dispose the SaslServer and also release the ByteBuf if needed, but we never call it...
> This could also leak memory and also other resources...



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