You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/09/09 14:10:30 UTC

[PR] [Fix][Zeta] Fix checkpoint retention after coordinator recreation [seatunnel]

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

   ## Purpose
   
   Restore persisted checkpoint IDs when a `CheckpointCoordinator` is recreated, so retention continues to account for checkpoints completed before master failover.
   
   ## Changes
   
   - Load and order existing checkpoint IDs for the coordinator pipeline during initialization.
   - Delete every checkpoint exceeding the configured retention limit after a new checkpoint completes.
   - Add regression coverage for a recreated coordinator with five existing checkpoints and a maximum retention of three.
   
   ## Verification
   
   - `./mvnw spotless:apply`
   - `./mvnw -pl seatunnel-engine/seatunnel-engine-server -Dtest=CheckpointManagerTest test` *(blocked before compilation by unavailable remote snapshot metadata)*
   - `./mvnw -q -DskipTests verify` *(blocked before verification by unavailable remote snapshot metadata)*
   - `./mvnw -o -pl seatunnel-engine/seatunnel-engine-server -am -Dtest=CheckpointManagerTest -DfailIfNoTests=false test` *(failed in the unrelated `seatunnel-config-shade` module because its required generated shaded Config classes were unavailable offline)*
   
   Closes #12094


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][Zeta] Fix checkpoint retention after coordinator recreation [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on PR #12236:
URL: https://github.com/apache/seatunnel/pull/12236#issuecomment-6394021862

   Updated the original branch at `28b3f2575d3f`. Fresh/checkpoint-disabled construction no longer lists retention history. Recreated coordinators use metadata-only ID enumeration in both built-in storage plugins, avoiding full checkpoint payload materialization and retaining corrupt-file IDs for normal retirement. The optional default preserves external storage SPI compatibility with an explicit warning and documented capability limitation. Storage, restore, legacy-plugin and existing engine E2E regression coverage was updated; scoped formatting and independent repair review passed. This head requires new GitHub CI results.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org