提交 5e0bd25d 编写于 作者: O obdev 提交者: OB-robot

[replayservice] fix grammer mistake in log printing

上级 4bdf2dfe
......@@ -732,7 +732,7 @@ void ObLogReplayService::process_replay_ret_code_(const int ret_code,
if (replay_status.is_fatal_error(ret_code)) {
replay_status.set_err_info(replay_task.lsn_, replay_task.log_ts_, replay_task.log_type_,
replay_task.replay_hint_, false, cur_ts, ret_code);
CLOG_LOG(ERROR, "replay task encount fatal error", K(replay_status), K(replay_task), K(ret_code));
CLOG_LOG(ERROR, "replay task encountered fatal error", K(replay_status), K(replay_task), K(ret_code));
} else {/*do nothing*/}
if (OB_SUCCESS == task_queue.get_err_info_ret_code()) {
......@@ -755,7 +755,7 @@ int ObLogReplayService::pre_check_(ObReplayStatus &replay_status,
if (OB_UNLIKELY(replay_status.has_fatal_error() || task.has_fatal_error())) {
//encounted fatal error last round,set OB_EAGAIN here
if (REACH_TIME_INTERVAL(5 * 1000 * 1000)) {
CLOG_LOG(ERROR, "replay has encount fatal error", K(replay_status), K(task), K(ret));
CLOG_LOG(ERROR, "ReplayService has encountered a fatal error", K(replay_status), K(task), K(ret));
}
//set egain just to push back into thread_pool
ret = OB_EAGAIN;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册