PalfBufferIterator support return padding log.
This commit is contained in:
@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user