[ https://issues.apache.org/jira/browse/HBASE-22021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806150#comment-16806150 ]
Zheng Wang commented on HBASE-22021: ------------------------------------ Yes, i think so. The connection here is a instance of NettyServerRpcConnection which has a method as below: {code:java} @Override protected void doRespond(RpcResponse resp) { channel.writeAndFlush(resp); } {code} > A small refactoring for NettyServerCall.sendResponseIfReady > ----------------------------------------------------------- > > Key: HBASE-22021 > URL: https://issues.apache.org/jira/browse/HBASE-22021 > Project: HBase > Issue Type: Improvement > Components: rpc > Reporter: Zheng Wang > Assignee: Zheng Wang > Priority: Trivial > Labels: starter > Attachments: HBASE-22021.patch > > > before: > connection.channel.writeAndFlush(this); > > after: > connection.doRespond(this); -- This message was sent by Atlassian JIRA (v7.6.3#76005)