zhangshenghang opened a new pull request, #12150:
URL: https://github.com/apache/seatunnel/pull/12150

   ## Purpose
   
   Fixes #12131 by making schema-change-after checkpoint completion idempotent 
during pipeline recovery.
   
   A pipeline restored from a checkpoint that had already completed its schema 
change can receive the same completion notification again. Previously, that 
notification threw an IllegalStateException and failed the recovered job. The 
coordinator now logs and ignores the duplicate notification; only the first 
completion resumes regular checkpoint scheduling.
   
   ## Tests
   
   - Added 
`CheckpointCoordinatorTest#testDuplicateSchemaChangeAfterCheckpointCompletionIsIgnored`,
 which verifies that the first notification schedules the regular checkpoint 
and a duplicate notification neither throws nor schedules a second checkpoint.
   - Ran `./mvnw spotless:apply`.
   - `./mvnw -q -DskipTests verify` is running locally.
   
   ## Scope
   
   This change addresses the Zeta recovery failure in #12131. The Doris 
stream-load cancellation during tablet-rebuilding DDL remains a separate 
connector concern.


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