yraivo commented on PR #13389:
URL: https://github.com/apache/seatunnel/pull/13389#issuecomment-7073093045

   Thanks @SEZ9 for the thorough code trace and review! Pushed 
630eabb131241f9df7446bb625a55241c91353db to address all three follow-ups (along 
with @SEPURI-SAI-KRISHNA's note #2):
   
   1. **Upgrade note & PR checklist (`Issue 1`)**: Added entries under `## dev` 
in both `docs/en/introduction/concepts/incompatible-changes.md` and 
`docs/zh/introduction/concepts/incompatible-changes.md` covering the fail-fast 
behavior on missing/null snapshot watermarks and the recovery steps, and 
updated the PR description checklist accordingly.
   2. **`SplitAssigner.Context` constructor Javadoc (`Issue 2`)**: Documented 
that `assignedSnapshotSplit` and `splitCompletedOffsets` are defensively copied 
into `ConcurrentHashMap` instances (and reject `null` keys/values, with a 
`null` map reference treated as empty) while `capturedTables` is deliberately 
shared by reference.
   3. **Unified fail-fast messages & simplified low-watermark check (`Issue 
3`)**: Routed all four `IllegalStateException` paths in 
`IncrementalSplitAssigner` through a shared `incompleteCheckpointState(...)` 
helper so every failure carries the same remediation guidance, simplified the 
`startWithSnapshotMinimumOffset` check to a plain `null` low-watermark message 
for `exactly_once=false`, and added assertions for the remediation text in 
`IncrementalSourceEnumeratorTest`.
   4. **Redundant null guard**: Dropped `if (context != null)` in 
`SnapshotSplitAssigner.restoreCompletedSnapshotSplit`.
   


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