fix mini mode print slow replay error
This commit is contained in:
		| @ -88,7 +88,9 @@ int ObLSAdapter::replay(ObLogReplayTask *replay_task) | ||||
|   } | ||||
|   replay_task->replay_cost_ = ObTimeUtility::fast_current_time() - start_ts; | ||||
|   if (replay_task->replay_cost_ > MAX_SINGLE_REPLAY_WARNING_TIME_THRESOLD) { | ||||
|     if (replay_task->replay_cost_ > MAX_SINGLE_REPLAY_ERROR_TIME_THRESOLD && !get_replay_is_writing_throttling()) { | ||||
|     if (replay_task->replay_cost_ > MAX_SINGLE_REPLAY_ERROR_TIME_THRESOLD | ||||
|         && !get_replay_is_writing_throttling() | ||||
|         && lib::is_mini_mode()) { | ||||
|       CLOG_LOG(ERROR, "single replay task cost too much time. replay may be delayed", KPC(replay_task)); | ||||
|     } else { | ||||
|       CLOG_LOG(WARN, "single replay task cost too much time", KPC(replay_task)); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 obdev
					obdev