echauchot commented on code in PR #22985: URL: https://github.com/apache/flink/pull/22985#discussion_r1321390908
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/Executing.java: ########## @@ -47,6 +51,10 @@ class Executing extends StateWithExecutionGraph implements ResourceListener { private final Context context; + private Instant lastRescale = Instant.EPOCH; Review Comment: recording lastRescale as Instant.now() in the Executing constructor could work but it means that even a regular transition from Created to Executing state (see [FLIP-160](https://cwiki.apache.org/confluence/display/FLINK/FLIP-160%3A+Adaptive+Scheduler)) would be considered a rescale. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org