JingsongLi commented on code in PR #905: URL: https://github.com/apache/incubator-paimon/pull/905#discussion_r1166195767
########## docs/content/api/java-api.md: ########## @@ -279,7 +283,7 @@ Key points to achieve exactly-once consistency: - The commitIdentifier of `StreamTableWrite` and `StreamTableCommit` needs to be consistent, and the id needs to be incremented for the next committing. - When a failure occurs, if you still have uncommitted `CommitMessage`s, please use `StreamTableCommit#filterCommitted` - to exclude the committed messages by commitIdentifier. + to exclude the committed messages by commitIdentifier. Meanwhile, you could abort uncommitted `CommitMessage`s via `StreamTableCommit#abort`. Review Comment: This will be confused, the recommended way is storing `CommitMessage`s and retry to commit again. -- 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]
