提交 b9291f96 编写于 作者: O obdev 提交者: wangzelin.wzl

Adjust system log level for last slog not complete

上级 77a4d472
......@@ -340,7 +340,7 @@ int ObStorageLogReader::tackle_less_header_len(const common::ObLogEntry& entry)
STORAGE_REDO_LOG(INFO, "reach the end of log", K(ret), K(file_id_));
} else {
ret = OB_LAST_LOG_NOT_COMPLETE;
STORAGE_REDO_LOG(ERROR,
STORAGE_REDO_LOG(WARN,
"last log not complete",
K(ret),
"remain_data_len",
......@@ -355,7 +355,7 @@ int ObStorageLogReader::tackle_less_data_len(const common::ObLogEntry& entry)
{
int ret = OB_SUCCESS;
ret = OB_LAST_LOG_NOT_COMPLETE;
STORAGE_REDO_LOG(ERROR, "last log not complete", K_(file_id), K_(log_buffer), K(entry));
STORAGE_REDO_LOG(WARN, "last log not complete", K_(file_id), K_(log_buffer), K(entry));
hex_dump(log_buffer_.get_data(), static_cast<int32_t>(log_buffer_.get_limit()), true, OB_LOG_LEVEL_WARN);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册