danny0405 commented on code in PR #7075:
URL: https://github.com/apache/hudi/pull/7075#discussion_r1006392805
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/meta/CkpMetadata.java:
##########
@@ -132,6 +132,20 @@ private void clean(String newInstant) {
}
}
+ /**
+ * start a checkpoint commit message.
+ *
+ * @param instant The start commit instant
+ */
+ public void startCommitInstant(String instant) {
Review Comment:
The reason we do not support this is because we have no idea how many tasks
are running for partial mode, and we have no idea when to commit the metadata
data.
One solution is we commit the metadata in commit sink, but that is a
different mechanism and we need to rethink about it.
--
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]