Add stream rpc reverse keepalive

This commit is contained in:
liucc1997
2024-03-27 02:45:32 +00:00
committed by ob-robot
parent 6011bd19fb
commit 2bdb4a9bbc
28 changed files with 565 additions and 24 deletions

View File

@ -308,7 +308,7 @@ int ObRemoteBaseExecuteP<T>::sync_send_result(ObExecContext &exec_ctx,
} else {
has_send_result_ = true;
// override error code
if (OB_FAIL(ObRpcProcessor<T>::flush(THIS_WORKER.get_timeout_remain()))) {
if (OB_FAIL(ObRpcProcessor<T>::flush(THIS_WORKER.get_timeout_remain(), &ObRpcProcessor<T>::arg_.get_ctrl_server()))) {
LOG_WARN("fail to flush", K(ret));
} else {
// 超过1个scanner的情况,每次发送都打印一条日志