danny0405 commented on code in PR #13285:
URL: https://github.com/apache/hudi/pull/13285#discussion_r2085799020
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bootstrap/BootstrapOperator.java:
##########
@@ -108,7 +105,7 @@ public BootstrapOperator(Configuration conf) {
@Override
public void snapshotState(StateSnapshotContext context) throws Exception {
- lastInstantTime = this.ckpMetadata.lastPendingInstant();
+ lastInstantTime =
StreamerUtil.getLastCompletedInstant(StreamerUtil.createMetaClient(this.conf));
Review Comment:
we can, just need to register the coordinator also for `BootstrapOperator`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]