[
https://issues.apache.org/jira/browse/FLINK-12672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321506#comment-17321506
]
Flink Jira Bot commented on FLINK-12672:
----------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Use SingleInputGate.closeFuture in triggerPartitionStateCheck instead of
> consumer state in RemoteChannelStateChecker
> --------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-12672
> URL: https://issues.apache.org/jira/browse/FLINK-12672
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network
> Reporter: Andrey Zagrebin
> Priority: Minor
> Labels: stale-minor
>
> At the moment we use consumer running check in RemoteChannelStateChecker as a
> shortcut if consumer is done before the check has been accomplished then we
> skip the check.
> Ideally we should use closeFuture in SingleInputGate instead of consumer
> state for this. Although this shortcut is the best effort because the state
> change or gate close can happen concurrently right after this check,
> exposing consumer state to shuffle implementation looks unnecessary.
> See also PR comment:
> [https://github.com/apache/flink/pull/8463#discussion_r288537012]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)