change submit build global index task fail error code
This commit is contained in:
committed by
wangzelin.wzl
parent
94c3540d53
commit
05a528a6dd
@ -1317,11 +1317,12 @@ int ObIndexBuilder::submit_build_global_index_task(const ObTableSchema& index_sc
|
|||||||
LOG_WARN("fail to get index schema", K(ret));
|
LOG_WARN("fail to get index schema", K(ret));
|
||||||
} else if (OB_FAIL(
|
} else if (OB_FAIL(
|
||||||
GCTX.root_service_->get_global_index_builder().submit_build_global_index_task(inner_index_schema))) {
|
GCTX.root_service_->get_global_index_builder().submit_build_global_index_task(inner_index_schema))) {
|
||||||
LOG_WARN("fail to submit build global index task", K(ret));
|
if (OB_NOT_INIT == ret) {
|
||||||
|
ret = OB_EAGAIN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (OB_FAIL(ret)) {
|
if (OB_FAIL(ret)) {
|
||||||
ret = OB_ERR_UNEXPECTED;
|
FORWARD_USER_ERROR(ret, "create global index failed, please drop and create another one");
|
||||||
LOG_USER_ERROR(OB_ERR_UNEXPECTED, "create global index failed, please drop and create another one");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user