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

   Thanks, @SEZ9 — these are useful boundary questions. Here are the current 
pointers and limits:
   
   - **F3/F8 wire behavior:** CheckpointFinishedOperation.java:82-89 explicitly 
throws IOException for a null type, including checkpointId. readInternal:99 
delegates to CheckpointType.fromName:40-46, which throws 
IllegalArgumentException for an unknown name; it does not silently return 
null/default. The new type string changes the internal operation wire format. 
docs/en/introduction/concepts/incompatible-changes.md:9-13 (and the Chinese 
entry) requires upgrading Zeta members together; a mixed-version rolling 
cluster is not supported across this change.
   - **F5 abort reachability:** the typed guard cleanup is still present at 
SchemaChangeDrainGuard.java:168-173 and is directly unit-tested. The current 
coordinator constructs CheckpointFinishedOperation with successful=true at 
1483-1487. Checkpoint failure takes FAILED -> CheckpointManager recovery; I 
found no current false-operation sender that makes the typed abort branch the 
normal error mechanism. I should not imply that it is exercised by that runtime 
failure route.
   - **F6 scope:** this remains a single active schema-change window, not a map 
of overlapping checkpoint ids. Untyped completion/abort uses recorded ids; 
typed BEFORE/AFTER is type-driven, and a typed schema abort resets regardless 
of id. CheckpointCoordinator.scheduleSchemaChangeBeforeCheckpoint:1603-1619 
admits only one schema phase via schemaChanging. That serialization is the 
contract supporting the guard. It is not proof against arbitrary stale 
cross-generation typed callbacks or independently overlapping phases; such a 
protocol would require stronger identity fencing and tests.
   - **F7 coverage limit:** the added tests are primarily 
SchemaChangeDrainGuardTest, including 
shouldAllowSchemaChangeAfterRestoredDrainCheckpointCompletes:137 and the 
callback-order race, plus collector/source protocol coverage. The guard restore 
test is a fresh guard plus typed completion, not a real restored job performing 
external DDL. I did not find newly added dedicated CheckpointFinishedOperation 
wire-round-trip, SeaTunnelTask typed-fan-out or SinkFlowLifeCycle integration 
tests in this diff. My earlier wording must not be read as claiming those tests 
exist. They are useful focused coverage follow-ups; the runtime wiring was 
source-traced, not locally executed.
   
   The previous source conclusion remains scoped to the serialized current 
protocol. Exact-head Build 45037018338 remains cancelled; completed applicable 
CI and effective maintainer approval are still required.
   
   This is a discussion follow-up on unchanged head 
`0b03a9edf5357450f4fcc5988150d3884271444b`, not a new full source review. I 
inspected the named local source paths; no local build, test or SeaTunnel 
runtime was executed. Daniel has READ permission; effective maintainer approval 
and historical review dismissal remain separate repository actions.


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