echauchot commented on code in PR #22985:
URL: https://github.com/apache/flink/pull/22985#discussion_r1360728058
##########
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/ExecutingTest.java:
##########
@@ -594,8 +683,12 @@ public FailureResult howToHandleFailure(Throwable failure)
{
}
@Override
- public boolean shouldRescale(ExecutionGraph executionGraph) {
- return canScaleUp.get();
+ public boolean shouldRescale(ExecutionGraph executionGraph, boolean
forceRescale) {
+ if (forceRescale) {
+ return canScaleUpWithForce;
+ } else {
+ return canScaleUpWithoutForce;
Review Comment:
done
--
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]