JNSimba commented on PR #364: URL: https://github.com/apache/doris-spark-connector/pull/364#issuecomment-4852524314
I have no issues with the logic for determining `isAlreadyCommitted`. The problem arises during the `prepare` phase: if Stream Load retries using the same label, it will never succeed (until Doris itself aborts that label). The current strategy is to retry using a different label, thereby avoiding this issue; since non-2PC operations are inherently idempotent, there is no risk of duplicate data. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
