[ 
https://issues.apache.org/jira/browse/FLINK-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823662#comment-15823662
 ] 

ASF GitHub Bot commented on FLINK-5118:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/3106
  
    The code checks for null since there is no *technical* contract that the 
returned value is null. They aren't strictly necessary, and are only meant to 
guard against programming errors in the metrics system.
    
    Using a ```NullCounter``` would indeed do the same, would however introduce 
effectively dead code.


> Inconsistent records sent/received metrics
> ------------------------------------------
>
>                 Key: FLINK-5118
>                 URL: https://issues.apache.org/jira/browse/FLINK-5118
>             Project: Flink
>          Issue Type: Bug
>          Components: Metrics, Webfrontend
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Ufuk Celebi
>            Assignee: Chesnay Schepler
>             Fix For: 1.2.0, 1.3.0
>
>
> In 1.2-SNAPSHOT running a large scale job you see that the counts for 
> send/received records are inconsistent, e.g. in a simple word count job we 
> see more received records/bytes than we see sent. This is a regression from 
> 1.1 where everything works as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to