Hi SeaTunnel community, I'd like to start a discussion on STIP-45: https://github.com/apache/seatunnel/issues/13360
Today, Zeta workers send serialized checkpoint state to the master. The master collects it, serializes the completed checkpoint again, and writes a single pipeline-level blob. With large states such as those from CDC initial snapshots, this makes the master a bottleneck for heap, network traffic, and storage writes. The proposal is to have workers write large subtask state directly to checkpoint storage and acknowledge with state handles. Small states can stay inline. Once all tasks acknowledge, the master publishes a pipeline-level metadata file as the checkpoint commit point. On recovery, workers read their own state. The goal is to keep barrier alignment and sink two-phase commit semantics unchanged and continue to read v1 checkpoints. The first version would still write on the barrier path; async snapshots are out of scope. I'd especially like feedback on three points: 1. Commit and recovery: What storage guarantees should v2 require before publishing metadata, especially on object stores? How should recovery and cleanup handle missing chunks, late writes, and master failover? 2. Rollout: Should worker writes start as opt-in or be enabled by default with a v1 escape hatch? What should happen when storage isn't shared or isn't configured consistently across workers? Older binaries can't read v2, so what rollback path should we document? 3. Performance: What workloads should we benchmark to compare master heap and network savings against worker-side barrier latency and storage request volume? Is 20 KB a reasonable starting point for inlining? Feedback on the overall direction is welcome, especially from anyone running large CDC snapshots or using custom checkpoint storage. Thanks, Shenghang
