fix bug, set execution_id for shared storage mode
This commit is contained in:
parent
117107ee26
commit
eeb16f9bd7
@ -1572,6 +1572,9 @@ int ObDDLTask::push_execution_id(const uint64_t tenant_id, const int64_t task_id
|
|||||||
ret = OB_TASK_EXPIRED; //task can not be retry
|
ret = OB_TASK_EXPIRED; //task can not be retry
|
||||||
LOG_WARN("do not retry for heap table ddl plan", K(tenant_id), K(task_id), K(ddl_can_retry));
|
LOG_WARN("do not retry for heap table ddl plan", K(tenant_id), K(task_id), K(ddl_can_retry));
|
||||||
} else {
|
} else {
|
||||||
|
if ( -1 == execution_id) {
|
||||||
|
execution_id = 0;
|
||||||
|
}
|
||||||
if (OB_FAIL(ObDDLTaskRecordOperator::update_execution_id(trans, tenant_id, task_id, execution_id + 1 /*execution id*/))) {
|
if (OB_FAIL(ObDDLTaskRecordOperator::update_execution_id(trans, tenant_id, task_id, execution_id + 1 /*execution id*/))) {
|
||||||
LOG_WARN("update task status failed", K(ret));
|
LOG_WARN("update task status failed", K(ret));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user