Skip to content

Commit 356004c

Browse files
authored
[hotfix] Fix flink batch read won't finish issue (#2200)
1 parent a1a9c8d commit 356004c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/source/enumerator/FlinkSourceEnumerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,6 @@ private void handleSplitsAdd(List<SourceSplitBase> splits, Throwable t) {
688688
t);
689689
}
690690
}
691-
doHandleSplitsAdd(splits);
692691
if (isPartitioned) {
693692
if (!streaming || scanPartitionDiscoveryIntervalMs <= 0) {
694693
// if not streaming or partition discovery is disabled
@@ -700,6 +699,7 @@ private void handleSplitsAdd(List<SourceSplitBase> splits, Throwable t) {
700699
// so, noMoreNewPartitionSplits should be set to true
701700
noMoreNewSplits = true;
702701
}
702+
doHandleSplitsAdd(splits);
703703
}
704704

705705
private void doHandleSplitsAdd(List<SourceSplitBase> splits) {

0 commit comments

Comments
 (0)