[ https://issues.apache.org/jira/browse/FLINK-15918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030857#comment-17030857 ]
Thomas Weise commented on FLINK-15918: -------------------------------------- [~trohrmann] our users rely on the metric to monitor their jobs. Continuously increasing uptime is interpreted as necessary for a healthy job. This assumption is broken with the recent change. > This change of behavior exists since 1.9.0 if >{{jobmanager.execution.failover-strategy: region}} is configured, which we do >in the default flink-conf.yaml. And the change if behavior is not present in 1.9 when above setting is not present in flink-conf.yaml. It is, therefore, a regression for 1.10. > Uptime Metric not reset on Job Restart > -------------------------------------- > > Key: FLINK-15918 > URL: https://issues.apache.org/jira/browse/FLINK-15918 > Project: Flink > Issue Type: Bug > Components: Runtime / Coordination > Affects Versions: 1.9.2, 1.10.0 > Reporter: Gary Yao > Priority: Major > Fix For: 1.10.1, 1.11.0 > > > *Description* > The {{uptime}} metric is not reset when the job restarts, which is a change > in behavior compared to Flink 1.8. > This change of behavior exists since 1.9.0 if > {{jobmanager.execution.failover-strategy: region}} is configured, > which we do in the default flink-conf.yaml. > *Workarounds* > Users that find this behavior problematic can set {{jobmanager.scheduler: > legacy}} and unset {{jobmanager.execution.failover-strategy: region}} in > their {{flink-conf.yaml}} > *How to reproduce* > trivial > *Expected behavior* > This is up for discussion. -- This message was sent by Atlassian Jira (v8.3.4#803005)