tillrohrmann commented on a change in pull request #9242:
[FLINK-13408][runtime] Schedule
StandaloneResourceManager.setFailUnfulfillableRequest whenever the leadership
is acquired
URL: https://github.com/apache/flink/pull/9242#discussion_r308265650
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/StandaloneResourceManager.java
##########
@@ -112,4 +104,22 @@ protected ResourceID workerStarted(ResourceID resourceID)
{
return resourceID;
}
+ @Override
+ protected void startStartupPeriod() {
+ final long startupPeriodMillis =
startupPeriodTime.toMilliseconds();
+
+ if (startupPeriodMillis > 0) {
+ scheduleRunAsync(
+ () -> getMainThreadExecutor().execute(
Review comment:
why are we using the main thread executor here?
----------------------------------------------------------------
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]
With regards,
Apache Git Services