diff --git a/src/rootserver/ddl_task/ob_ddl_redefinition_task.cpp b/src/rootserver/ddl_task/ob_ddl_redefinition_task.cpp index c78a503b84..b935e74686 100644 --- a/src/rootserver/ddl_task/ob_ddl_redefinition_task.cpp +++ b/src/rootserver/ddl_task/ob_ddl_redefinition_task.cpp @@ -1843,7 +1843,9 @@ int ObSyncTabletAutoincSeqCtx::sync() LOG_WARN("failed to call and process", K(ret)); } } - is_synced_ = true; + if (OB_SUCC(ret)) { + is_synced_ = true; + } } } return ret;