dmvk commented on a change in pull request #17722:
URL: https://github.com/apache/flink/pull/17722#discussion_r747533396
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/State.java
##########
@@ -51,7 +51,8 @@ default void onLeave(Class<? extends State> newState) {}
void suspend(Throwable cause);
/**
- * Gets the current {@link JobStatus}.
+ * Gets the current {@link JobStatus}. The returned job status must remain
valid for as long as
+ * the scheduler is in this state.
Review comment:
I wasn't exactly sure about what this comment means at first. What do
you think about rephrasing it a little?
```
The returned job status will remain unchanged until the scheduler
transitions to a different state.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]