loserwang1024 commented on code in PR #3548:
URL: https://github.com/apache/fluss/pull/3548#discussion_r3506116015
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/source/enumerator/FlinkSourceEnumerator.java:
##########
@@ -978,6 +1100,12 @@ private void handleSplitsAdd(List<SourceSplitBase>
splits, Throwable t) {
t);
}
}
+
+ initialDiscoveryFinished = true;
+ for (SourceSplitBase split : splits) {
+ unassignedSplits.put(split.getTableBucket(), split);
Review Comment:
I have refactor the unassignedSplits and add more in comment.
<img width="1279" height="751" alt="image"
src="https://github.com/user-attachments/assets/bc7b48ba-740f-487e-b0b1-9730586e56bf"
/>
--
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]