allow recover ddl of sys tenant
This commit is contained in:
parent
e38a0ec7ca
commit
51d7205f5e
@ -1646,7 +1646,7 @@ int ObDDLScheduler::recover_task()
|
||||
ObMySQLTransaction trans;
|
||||
if (OB_FAIL(schema_service.get_tenant_schema_version(cur_record.tenant_id_, tenant_schema_version))) {
|
||||
LOG_WARN("failed to get tenant schema version", K(ret), K(cur_record));
|
||||
} else if (!is_tenant_primary(primary_tenant_ids, cur_record.tenant_id_)) {
|
||||
} else if (!is_tenant_primary(primary_tenant_ids, cur_record.tenant_id_) && OB_SYS_TENANT_ID != cur_record.tenant_id_) {
|
||||
LOG_INFO("tenant not primary, skip schedule ddl task", K(cur_record));
|
||||
} else if (tenant_schema_version < cur_record.schema_version_) {
|
||||
// schema has not publish, by pass now
|
||||
|
Loading…
x
Reference in New Issue
Block a user