SEZ9 commented on PR #11382:
URL: https://github.com/apache/seatunnel/pull/11382#issuecomment-7328580359

   Quick status on where this stands. Syncing with `dev` is the right step for 
the cancelled jobs and the content conflict, but resolving the conflict does 
not close the review findings.
   
   Still open from the previous review:
   
   1. **Typed abort path.** On the current head, the one-argument 
`SinkFlowLifeCycle.notifyCheckpointAborted(long)` still delegates with a null 
checkpoint type, so the guard's typed abort cleanup still looks unreachable 
from the coordinator side. A unit test that calls the typed overload directly 
would bypass this gap. Please add a test that drives the abort through the 
coordinator operation and verifies the affected guard is cleaned up after 
takeover.
   
   2. **Checkpoint completion and recovery.** These two still need changes or 
concrete evidence on the next head:
      - The fail-fast guard racing with the asynchronous checkpoint-completion 
notification, on the happy path and after restore.
      - The drain-ready state living only in process memory while the typed 
completion notification is sent once. How does a restore from a 
schema-change-before checkpoint avoid a permanent DDL rejection loop?
   
   3. **`CheckpointFinishedOperation` format.** The wire format change still 
needs a version guard or an explanation of why it is safe. It also needs 
null-safe serialization of `checkpointType` and defensive handling of unknown 
type names on deserialization.
   
   4. **Overlapping schema changes.** I don't see the single-slot checkpoint 
tracking or the over-broad type-based abort reset addressed in this thread yet. 
Could you say how the next head handles them?
   
   5. **Coverage.** Beyond the `SchemaChangeDrainGuard` unit tests, please 
cover the actual wiring: `SinkFlowLifeCycle`, the `SeaTunnelTask` fan-out, 
`CheckpointFinishedOperation` serialization, and a 
schema-evolution-with-failover scenario.
   
   Once the conflict with `dev` is resolved, the revised head needs a fresh 
Build. When you report back, please answer two questions separately: whether 
each relevant job actually completes, and whether the failure/recovery contract 
is covered by the new tests.
   
   <!-- streview-comment:2775 -->


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