1
0

[HUDI-2352] The upgrade downgrade action of flink writer should be singleton (#3531)

This commit is contained in:
Danny Chan
2021-08-25 10:56:14 +08:00
committed by GitHub
parent 04ede8eecf
commit a60fab3a5c
2 changed files with 12 additions and 0 deletions

View File

@@ -335,6 +335,7 @@ public class StreamWriteOperatorCoordinator
this.writeClient.startCommitWithTime(instant, tableState.commitAction);
this.instant = instant;
this.writeClient.transitionRequestedToInflight(tableState.commitAction, this.instant);
this.writeClient.upgradeDowngrade(this.instant);
LOG.info("Create instant [{}] for table [{}] with type [{}]", this.instant,
this.conf.getString(FlinkOptions.TABLE_NAME), conf.getString(FlinkOptions.TABLE_TYPE));
}