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

   Thanks for the update. The latest pass over the current head confirms the 
restore-event exemption and the recovery Javadoc correction, and both of those 
blockers are closed.
   
   **Confirmed from the re-review**
   
   - **Restore path:** `RestoreTableSchemaEvent` is now explicitly exempt from 
the guard. The new regression test also confirms it does not open readiness for 
a subsequent real DDL event.
   - **Re-delivery after failover (F2, F4):** the typed completion is now 
traced as replayed in both recovery shapes. A recreated coordinator replays 
from the persisted latest completed checkpoint once all tasks are ready. A 
surviving coordinator resets and re-arms readiness in `restoreCoordinator` and 
then goes through the same replay. That answers the "permanent DDL rejection 
loop" concern, and the in-memory drain-ready state is acceptable as long as 
that replay is guaranteed.
   
   **Remaining asks**
   
   The re-review text I have does not show the status of the points below, so 
please reply on each one.
   
   1. **F1 (guard vs. async notification):** how does the fail-fast guard avoid 
spurious failures when the completion notification arrives after the schema 
event? The traced path suggests the guard now waits and is woken by the 
notification. Please confirm that, and say what bounds the wait.
   2. **F3 / F8 (`CheckpointFinishedOperation` wire format):** is there a 
version guard or other compatibility handling for the added checkpoint type? 
Are a null `checkpointType` on write and an unknown type name on read both 
handled safely?
   3. **F5 (typed abort):** is there a coordinator-side call site that sends a 
typed abort, so the guard's abort cleanup is reachable after failover?
   4. **F6 (overlapping schema changes):** how does the single-slot checkpoint 
tracking behave with overlapping schema changes? Is the type-based abort reset 
scoped to the matching checkpoint?
   5. **F7 (test coverage):** the re-review flags a carryover test-policy 
omission around private-method reflection, not something this push introduced. 
Please exercise that logic through a non-private entry point instead. Also say 
whether any test now covers the real wiring (`SinkFlowLifeCycle`, the 
`SeaTunnelTask` typed fan-out, `CheckpointFinishedOperation` serialization) or 
a schema-evolution-with-failover scenario.
   
   A short note per item, pointing to the relevant code or test, is enough for 
me to finish this round.
   
   <!-- streview-comment:2514 -->


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