You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2023/06/16 06:13:00 UTC
[jira] [Commented] (FLINK-32362) SourceAlignment announceCombinedWatermark period task maybe lost
[ https://issues.apache.org/jira/browse/FLINK-32362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733340#comment-17733340 ]
Rui Fan commented on FLINK-32362:
---------------------------------
Hi [~cailiuyang] , thanks for the report.
It's really a bug, it can be reproduced by the unit test: don't setAllReaderTasksReady and call the announceCombinedWatermark.
I want to know how do you want to fix the bug?
> SourceAlignment announceCombinedWatermark period task maybe lost
> ----------------------------------------------------------------
>
> Key: FLINK-32362
> URL: https://issues.apache.org/jira/browse/FLINK-32362
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.16.0
> Reporter: Cai Liuyang
> Assignee: Cai Liuyang
> Priority: Major
>
> When we use sourcealignment,we also found there is another problem that announceCombinedWatermark may throw a exception (like "subtask 25 is not ready yet to receive events" , this subtask maybe under failover), which will lead the period task not running any more (ThreadPoolExecutor will not schedule the period task if it throw a exception)
> I think we should increase the robustness of announceCombinedWatermark function to avoid it throw any exception (if send fail, just wait next send) (code see [https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/source/coordinator/SourceCoordinator.java#L199] )
--
This message was sent by Atlassian Jira
(v8.20.10#820010)