fix process channels can not exit when peer is crashed && add diag for DTL process_base

This commit is contained in:
obdev
2023-02-24 16:04:59 +00:00
committed by ob-robot
parent f872513c5f
commit 70d004dc24
18 changed files with 126 additions and 40 deletions

View File

@ -148,8 +148,9 @@ int ObDtlLocalChannel::send_shared_message(ObDtlLinkedBuffer *&buf)
metric_.mark_first_out();
}
if (is_eof) {
metric_.mark_last_out();
metric_.mark_eof();
}
metric_.set_last_out_ts(::oceanbase::common::ObTimeUtility::current_time());
}
//统一返回消息
msg_response_.on_finish(is_block, ret);