zentol commented on a change in pull request #14963:
URL: https://github.com/apache/flink/pull/14963#discussion_r580299281
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveScheduler.java
##########
@@ -911,19 +914,26 @@ public void runIfState(State expectedState, Runnable
action, Duration delay) {
// ----------------------------------------------------------------
+ /** Note: Do not call this method from a State constructor. */
Review comment:
```suggestion
/** Note: Do not call this method from a State constructor or
State#onLeave. */
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]