HuangZhenQiu commented on a change in pull request #8952:
URL: https://github.com/apache/flink/pull/8952#discussion_r550417531



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/active/ActiveResourceManager.java
##########
@@ -301,7 +353,25 @@ private boolean clearStateForWorker(ResourceID resourceId) 
{
         return true;
     }
 
-    private void requestWorkerIfRequired() {
+    private void tryResetWorkerCreationCoolDown() {
+        if (workerCreationCoolDown.isDone()) {
+            log.info(
+                    "Reaching max start worker failure rate. Will not retry 
creating worker in {}.",
+                    workerCreationRetryInterval);
+            workerCreationCoolDown = new CompletableFuture<>();
+            getMainThreadExecutor()

Review comment:
       Ok, just found the function with a different parameter.




----------------------------------------------------------------
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]


Reply via email to