未验证 提交 7e756882 编写于 作者: L lizhiboo 提交者: GitHub

[ISSUE #1931] Remove duplicated doAfterRpcHooks logic

fix bug: doAfterRpcHooks execute twice.
上级 7953c4f5
......@@ -226,7 +226,6 @@ public abstract class NettyRemotingAbstract {
} else {
NettyRequestProcessor processor = pair.getObject1();
RemotingCommand response = processor.processRequest(ctx, cmd);
doAfterRpcHooks(RemotingHelper.parseChannelRemoteAddr(ctx.channel()), cmd, response);
callback.callback(response);
}
} catch (Throwable e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册