[
https://issues.apache.org/jira/browse/FLINK-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016225#comment-16016225
]
ASF GitHub Bot commented on FLINK-6586:
---------------------------------------
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/3907
That's a great point, haven't considered that. It may be easier to just
compare the final result with `Integer.MAX_VALUE` and return `0` if the match.
> InputGateMetrics#refreshAndGetMin returns Integer.MAX_VALUE for local channels
> ------------------------------------------------------------------------------
>
> Key: FLINK-6586
> URL: https://issues.apache.org/jira/browse/FLINK-6586
> Project: Flink
> Issue Type: Bug
> Components: Metrics, Network
> Affects Versions: 1.3.0, 1.4.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Trivial
> Fix For: 1.3.0, 1.4.0
>
>
> The {{InputGateMetrics#refreshAndGetMin}} returns {{Integer.MAX_VALUE}} when
> working with {{LocalChannels}}. In this case it should return 0 instead.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)