Skip to content

Commit c9cb3c4

Browse files
obdevJLY2015
authored andcommitted
[vector index] fix drop index error -4016
Co-authored-by: JLY2015 <1623359870@qq.com>
1 parent 369c85b commit c9cb3c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/rootserver/ob_ddl_service.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7379,6 +7379,8 @@ int ObDDLService::create_aux_index(
73797379
task_record))) {
73807380
LOG_WARN("failed to create aux index ddl task", K(ret), K(create_index_arg));
73817381
} else if (FALSE_IT(result.ddl_task_id_ = task_record.task_id_)) {
7382+
}
7383+
if (OB_FAIL(ret)) {
73827384
} else if (OB_FAIL(ObDDLTaskRecordOperator::update_parent_task_message(tenant_id,
73837385
arg.task_id_, index_schema, result.aux_table_id_, result.ddl_task_id_, ObDDLUpdateParentTaskIDType::UPDATE_CREATE_INDEX_ID, allocator, trans))) {
73847386
LOG_WARN("fail to update parent task message", K(ret), K(arg.task_id_), K(index_schema));

0 commit comments

Comments
 (0)