You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Andrey Zagrebin (Jira)" <ji...@apache.org> on 2020/10/09 09:24:00 UTC

[jira] [Comment Edited] (FLINK-4421) Make clocks and time measurements monotonous

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

Andrey Zagrebin edited comment on FLINK-4421 at 10/9/20, 9:23 AM:
------------------------------------------------------------------

Yes, I meant only the EG case which is a subtask (FLINK-4423) of this issue.

Eventually, I was just wondering whether to keep both issues open. We can keep them as they are with low priority.


was (Author: azagrebin):
Yes, I meant only the EG case which is a subtask (FLINK-4423) of this issue.

Eventually, I was just wondering whether to keep both issues open.

> Make clocks and time measurements monotonous
> --------------------------------------------
>
>                 Key: FLINK-4421
>                 URL: https://issues.apache.org/jira/browse/FLINK-4421
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>            Reporter: Stephan Ewen
>            Priority: Minor
>
> Currently, many places use {{System.currentTimeMillis()}} to acquire timestamps or measure time intervals.
> Since this relies on the system clock, and the system clock is not necessarily monotonous (in the presence of clock updates), this can lead to negative duration and decreasing timestamps where increasing timestamps are expected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)