Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4109
  
    no, it's not safe nor does it actually fulfill the purpose. I better add a 
test for this....
    
    We can't just fail, as the metric system shouldn't throw exceptions, since 
this isn't a problem that affects job execution.
    
    I've moved the truncation into `TaskMetricGroup#addOperator()` which is the 
only call to the constructor outside of tests (as intended).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to