SEPURI-SAI-KRISHNA commented on issue #13449: URL: https://github.com/apache/seatunnel/issues/13449#issuecomment-7188330526
Thanks. Measured first; it changes F1. 1. Yes. Tests for C (below), with exact final rows: Paimon restored at 1 from state stored at replica 2, Paimon after sink parallelism 2 to 1, and Jdbc after the option is raised (Paimon only runs at 1). 2. Not under B. Two real `PaimonSinkWriter`s each prepare a row at checkpoint 1; restoring both states into one writer throws `IllegalStateException: Duplicate key 1`, as it maps states by checkpoint id. The F1 premise, from my #13243 Javadoc, also looks wrong: Zeta keeps Paimon's pending commits in the aggregated committer state too, and its restore commits both rows (measured). Read only: Iceberg, File, Hive and Jdbc exactly-once use that committer too, Doris's writer state is only a checkpoint counter (its commit info is not checkpointed; separate issue), Pulsar's restore ignores its state, Flink 1.15 checkpoints committables in its committers, and Spark never restores writer state. So I propose C: keep dev's behavior, log a WARN naming writers whose state is unused, and remove F1 from the compatibility plan. Does C look right to you? -- 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]
