From 42319a07edae64acd020e24ecd4bf67c2a946f74 Mon Sep 17 00:00:00 2001 From: yyy-hust Date: Mon, 9 Oct 2023 04:39:52 +0000 Subject: [PATCH] [replayservice] usleep 10us with OB_EAGAIN ret_code during replaying --- src/logservice/replayservice/ob_replay_status.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logservice/replayservice/ob_replay_status.cpp b/src/logservice/replayservice/ob_replay_status.cpp index b24b0badf4..ecbfe8873d 100644 --- a/src/logservice/replayservice/ob_replay_status.cpp +++ b/src/logservice/replayservice/ob_replay_status.cpp @@ -89,8 +89,7 @@ void ObReplayServiceTask::set_fatal_err_info(const int ret_code, bool ObReplayServiceTask::need_replay_immediately() const { - return (OB_SUCCESS == err_info_.ret_code_ - || OB_EAGAIN == err_info_.ret_code_); + return (OB_SUCCESS == err_info_.ret_code_); } //---------------ObReplayServiceSubmitTask---------------//