SEZ9 commented on issue #13340: URL: https://github.com/apache/seatunnel/issues/13340#issuecomment-7115456635
@LiuHao0606 thanks for the production confirmation. A crash on the last snapshot split with `splitEnd == null`, repeated deterministically after restoring the latest successful checkpoint, is consistent with the diagnosis that the restored completion watermark is not visible to the incremental assigner. As @yraivo noted, this is not fully confirmed without the checkpoint state. I can't give you a merge or release date for the fix yet. With 15 jobs back on 3.1.0, a local patch is a reasonable interim step, done the way @yraivo described: apply the changes in `SplitAssigner.java`, `SnapshotSplitAssigner.java`, and `IncrementalSplitAssigner.java` onto `3.1.0`, then restore a failing checkpoint in staging with an isolated sink before rolling it out. Please don't work around it by catching the NPE or falling back to the startup offset, since that could hide an incomplete checkpoint and duplicate or lose CDC events. Remaining asks for @LiuHao0606: - If you still have a failing checkpoint, please post the result of the staging restore with the patched build. We need to know whether it gets past the last split into incremental reads or fails with the `IllegalStateException`, and if so, the full message with table and split. - Please tell us whether the affected jobs run with exactly-once enabled, since that decides whether the low or high watermark is selected. - The `assignedSplits` vs `splitCompletedOffsets` ID diff from that checkpoint would be the strongest confirmation, but it is optional if parsing the state is impractical. Remaining asks for @yraivo: - Please confirm that the serialized fixture sits in the existing CDC enumerator test coverage. - Please confirm it covers both the non-exactly-once low-watermark and exactly-once high-watermark selection, the normal restored path, and the malformed missing/null-watermark cases. - Please confirm the waiting-reader reassignment behavior is preserved. - Please link the red/green fixture evidence here. <!-- streview-comment:2559 --> -- 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]
