SEZ9 commented on PR #11382: URL: https://github.com/apache/seatunnel/pull/11382#issuecomment-7116873698
Thanks for the update. The latest pass over the current diff found no source-level merge blocker in the reviewed paths, and here is where the earlier points stand. **Addressed by the current diff, as far as that pass shows** - **F1 (guard racing the completion notification):** the guard now uses one monitor with a while-wait and a single 30s deadline, so a completion can wake a schema event that arrived first. Barrier readiness is recorded before the ACK, and a later barrier with the same id does not erase a typed completion that was already received. - **F2 / F4 (drain-ready state only in memory, re-delivery after failover):** keeping restored readiness out of sink state is intentional. `restoreCoordinator` and the all-task-ready path replay `latestCompletedCheckpoint` as a typed completion to the fresh guard, and a failed notification returns false and triggers error/recovery. That answers the re-delivery path I could not find before. - **F5 (typed abort unreachable):** a checkpoint error now goes coordinator FAILED -> `CheckpointManager.handleCheckpointError` -> pipeline recovery, not a typed-abort RPC. Could you confirm whether the typed abort cleanup in the guard is still there, and if so, what reaches it? **Still open — I could not confirm these from the latest pass** - **F3 / F8 (`CheckpointFinishedOperation` wire format):** what happens when `checkpointType` is null on serialization, and when the type name is unknown on deserialization? Please also say how a mixed-version cluster behaves during a rolling upgrade. - **F6 (single-slot tracking):** the same-id case is covered, but what happens with overlapping schema changes that use different checkpoint ids? Is the reset on abort or on AFTER completion scoped to the tracked checkpoint id, or only to the type? - **F7 (tests):** is there now coverage beyond the `SchemaChangeDrainGuard` unit tests? I am looking for the `SinkFlowLifeCycle` wiring, the `SeaTunnelTask` typed fan-out, a `CheckpointFinishedOperation` serialization round-trip, and a restore-from-BEFORE scenario where the DDL succeeds after replay. If so, please point me to the tests. Once these three are answered, I think this is in good shape. <!-- streview-comment:2576 --> -- 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]
