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

Andrey commented on FLINK-5449:
-------------------------------

Sorry, could you please clarify what "reporting actions" means? this method 
submits single ScheduledFutureTask. if getDelay is less than 0 then, it will be 
executed immediately. In other words: actual interval = Max(period, task 
execution time)



> Time drift in MetricRegistry
> ----------------------------
>
>                 Key: FLINK-5449
>                 URL: https://issues.apache.org/jira/browse/FLINK-5449
>             Project: Flink
>          Issue Type: Bug
>          Components: Metrics
>    Affects Versions: 1.2.0, 1.1.4, 1.3.0
>            Reporter: Andrey
>
> Scheduled metrics are executed using "scheduleWithFixedDelay" which 
> introduces time drift. See 
> http://stackoverflow.com/questions/24649842/scheduleatfixedrate-vs-schedulewithfixeddelay
>  for details.
> Expected:
>  
>  * switch to "scheduleatfixedrate"



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

Reply via email to