yraivo commented on code in PR #13389:
URL: https://github.com/apache/seatunnel/pull/13389#discussion_r4715570905
##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-base/src/main/java/org/apache/seatunnel/connectors/cdc/base/source/enumerator/SnapshotSplitAssigner.java:
##########
@@ -227,9 +227,11 @@ public void onCompletedSplits(List<SnapshotSplitWatermark>
completedSplitWaterma
@Override
public void addSplits(Collection<SourceSplitBase> splits) {
+ boolean restoredCompletedSplit = false;
Review Comment:
Merged latest `dev` and updated this in `89b33d686d06`: removed
`restoredCompletedSplit` and extracted `markAssignerCompletedIfNeeded()` shared
by `onCompletedSplits` and `addSplits` (called once after the loop, keeping
`restoreCompletedSnapshotSplit`'s `putIfAbsent` behavior). PTAL @nzw921rx.
--
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]