SEZ9 commented on issue #13469:
URL: https://github.com/apache/seatunnel/issues/13469#issuecomment-7248214623
@SEPURI-SAI-KRISHNA thanks for the revised proposal. The fail-closed
direction works for the plain-committer loss on Zeta.
**Your open choice:** replay only on Zeta's own restores (pipeline restore,
master switch), from the checkpoint that carries the persisted commit-info
state. Keep `-r` as it is today in this PR. A user can deliberately pick a
savepoint older than the Kafka transaction expiry, and making that path depend
on an expired transactional id would change the existing restore contract.
**Scope:** the opt-in boundary is right. Only committers implementing
`RestorableSinkCommitter` persist and replay commit info, and every other plain
committer restores as today. Kafka and Doris are fine as the first two,
provided the PR proves their exact outcomes. An unknown, aborted or expired
transaction must fail, never count as success.
Remaining asks for the PR:
1. **Kafka proof:** you marked "committed txn, broker returns NONE" as to be
proven. Please include that proof, since the Kafka replay depends on it.
2. **Automatic-recovery tests** should assert:
- the restored checkpoint id and that the serialized info belongs to that
checkpoint;
- a commit failure after the checkpoint completes;
- worker loss before the commit;
- both retryable and terminal `restoreCommit` failures, the terminal one
ending in FAILED after `job.retry.times`;
- exactly-once visible rows.
3. **Old checkpoints:** keep the path where the new key is absent explicitly
covered, restoring as today.
4. **Pulsar and SelectDB Cloud:** the PR should not claim coverage for
either. The follow-ups you mentioned are the right place, and the PR
description should say the loss remains for them.
5. **Flink and Spark:** their paths must stay unchanged.
With those in place, please go ahead and open the PR.
<!-- streview-comment:2699 -->
--
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]