rkhachatryan commented on code in PR #21981: URL: https://github.com/apache/flink/pull/21981#discussion_r1116356436
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveScheduler.java: ########## @@ -794,7 +802,23 @@ public void goToWaitingForResources() { LOG, desiredResources, this.initialResourceAllocationTimeout, - this.resourceStabilizationTimeout)); + this.resourceStabilizationTimeout, + null)); + } + + @Override + public void goToWaitingForResources(ExecutionGraph executionGraph) { Review Comment: I agree, `state.as` seems error-prone to me. Initial implementation had an error related to that (state was never the one expected). -- 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