set ddl success with start log ts

This commit is contained in:
simonjoylet
2022-11-25 06:42:17 +00:00
committed by wangzelin.wzl
parent 56076b3e8c
commit 18e8a1e6aa
5 changed files with 58 additions and 35 deletions

View File

@ -412,7 +412,7 @@ int ObDDLTableMergeTask::process()
LOG_WARN("fail to submit tablet update task", K(ret), K(tenant_id), K(merge_param_));
}
if (OB_FAIL(ret)) {
} else if (OB_FAIL(ddl_kv_mgr_handle.get_obj()->set_commit_success())) {
} else if (OB_FAIL(ddl_kv_mgr_handle.get_obj()->set_commit_success(merge_param_.start_log_ts_))) {
LOG_WARN("set is commit success failed", K(ret));
} else {
LOG_INFO("commit ddl sstable succ", K(ddl_param), K(merge_param_));