pick: #42670
This commit is contained in:
@ -591,14 +591,16 @@ public class SchemaChangeJobV2 extends AlterJobV2 {
|
||||
}
|
||||
|
||||
pruneMeta();
|
||||
this.jobState = JobState.FINISHED;
|
||||
this.finishedTimeMs = System.currentTimeMillis();
|
||||
|
||||
Env.getCurrentEnv().getEditLog().logAlterJob(this);
|
||||
LOG.info("schema change job finished: {}", jobId);
|
||||
|
||||
changeTableState(dbId, tableId, OlapTableState.NORMAL);
|
||||
LOG.info("set table's state to NORMAL, table id: {}, job id: {}", tableId, jobId);
|
||||
|
||||
this.jobState = JobState.FINISHED;
|
||||
this.finishedTimeMs = System.currentTimeMillis();
|
||||
Env.getCurrentEnv().getEditLog().logAlterJob(this);
|
||||
|
||||
// Drop table column stats after schema change finished.
|
||||
Env.getCurrentEnv().getAnalysisManager().dropStats(tbl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user