PalfBufferIterator support return padding log.

This commit is contained in:
HaHaJeff
2023-04-28 03:41:40 +00:00
committed by ob-robot
parent 64dc54c87e
commit 58bb3d34b7
21 changed files with 887 additions and 332 deletions

View File

@ -68,6 +68,9 @@ int ObLSAdapter::replay(ObLogReplayTask *replay_task)
} else if (OB_ISNULL(ls = ls_handle.get_ls())) {
ret = OB_ERR_UNEXPECTED;
CLOG_LOG(ERROR, " log stream not exist", KPC(replay_task), K(ret));
} else if (ObLogBaseType::PADDING_LOG_BASE_TYPE == replay_task->log_type_) {
ret = OB_ERR_UNEXPECTED;
CLOG_LOG(ERROR, "padding log entry can't be replayed, unexpected error", KPC(replay_task));
} else if (OB_FAIL(ls->replay(replay_task->log_type_,
replay_task->log_buf_,
replay_task->log_size_,