1
0

[HUDI-3703] Reset taskID in restoreWriteMetadata (#5122)

This commit is contained in:
Zhaojing Yu
2022-03-25 10:18:28 +08:00
committed by GitHub
parent eaa4c4f2e2
commit 483ee843e6

View File

@@ -182,6 +182,8 @@ public abstract class AbstractStreamWriteFunction<I>
boolean eventSent = false;
for (WriteMetadataEvent event : this.writeMetadataState.get()) {
if (Objects.equals(lastInflight, event.getInstantTime())) {
// Reset taskID for event
event.setTaskID(taskID);
// The checkpoint succeed but the meta does not commit,
// re-commit the inflight instant
this.eventGateway.sendEventToCoordinator(event);