DanielLeens commented on issue #13469:
URL: https://github.com/apache/seatunnel/issues/13469#issuecomment-7191777840

   Classification: A / Zeta checkpoint commit-state recovery.
   
   The report identifies a real recovery boundary. On latest `dev` at 
`c0c6d04ca517f7fe039fb1994604a3643a3e59ec`, `SinkFlowLifeCycle` keeps a plain 
committer's `lastCommitInfo` only in task memory, overwrites it at later 
barriers, and commits it from `notifyCheckpointComplete`. That information is 
not included in the writer-state checkpoint path. The reported failed commit 
can therefore leave the restored source beyond work that has never been 
committed.
   
   Do not open the generic adapter implementation yet. An aggregated committer 
explicitly documents idempotent `restoreCommit`, but the plain `SinkCommitter` 
interface does not make that guarantee. Moving all five plain committers into 
the aggregated path would be a contract and recovery change, not a transparent 
wrapper; it cannot assume that retrying a connector's external commit is safe.
   
   First provide a connector-by-connector contract table for Kafka, Doris, 
Pulsar, BigQuery, and Milvus: serialized commit information, commit idempotence 
or duplicate-result behavior, abort behavior, client reconstruction, and 
checkpoint compatibility. Then choose the smallest recovery design that 
preserves existing checkpoint data and handles multiple pending checkpoints, 
commit failure, worker loss after checkpoint completion, and restore without 
silently losing or duplicating work. The Zeta regression must reproduce the 
failure against the selected path and assert exact committed rows after 
recovery; connector-specific evidence is required before claiming exactly-once 
behavior. Flink and Spark should remain out of scope unless their paths are 
separately demonstrated to share this defect.


-- 
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]

Reply via email to