fix switch status failed.

This commit is contained in:
obdev
2023-02-14 03:15:02 +00:00
committed by ob-robot
parent c6ded9ad28
commit 1e90e30019
6 changed files with 21 additions and 6 deletions

View File

@ -841,6 +841,9 @@ int ObIndexBuildTask::wait_data_complement()
LOG_WARN("not init", K(ret));
} else if (ObDDLTaskStatus::REDEFINITION != task_status_) {
LOG_WARN("task status not match", K(ret), K(task_status_));
} else if (OB_UNLIKELY(snapshot_version_ <= 0)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpected snapshot", K(ret), KPC(this));
}
bool is_request_end = false;