SEPURI-SAI-KRISHNA commented on issue #13324: URL: https://github.com/apache/seatunnel/issues/13324#issuecomment-7234604422
Thanks @SEZ9 (dev `ee0fb0d72f`). **Plain committers.** Confirmed. `SinkFlowLifeCycle` commits a sink's `SinkCommitter` from task memory, also inside `MultiTableSink`. Such a pipeline ends FAILED in case 2 and keeps R1, also after #13469 unless its committer opts in to the proposed `restoreCommit`. **1.** Probe: https://gist.github.com/SEPURI-SAI-KRISHNA/11adc64c2bca2d8af52281f5f814dbf9 **2.** Nothing restores the record; case 2 does not need it. Completion runs `notifyCompleted`, then removes the record, then writes R2. So the record may be gone, and notified enumerators may be closing. Case 2 therefore never resumes the old tasks: it clears the record, cancels them and restores the pipeline from R1 as after a failure, so `job.retry.times = 0` ends FAILED and keeps R1. For FINISHED, the restored readers should have no splits left (the test asserts no rows are read). Every enumerator then sends `LastCheckpointNotifyOperation` again, and `readyToClose` triggers a new `COMPLETED_POINT`. **3.** Added: R2 also rejected on the replacement master. It asserts FAILED with key, status and cause, R1 still stored, and that a restore from R1 is case 2 again with no rows read. -- 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]
