tillrohrmann commented on a change in pull request #7227: [FLINK-11059]
[runtime] do not add releasing failed slot to free slots
URL: https://github.com/apache/flink/pull/7227#discussion_r292878733
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java
##########
@@ -1420,6 +1424,41 @@ private void timeoutSlot(AllocationID allocationId,
UUID ticket) {
}
}
+ /**
+ * Sync slot with job master.
+ * The slots only exist in job master will be failed to job master.
+ * The slots only exist in task executor will be released to resource
manager.
Review comment:
Rephrase: `Syncs the TaskExecutor's view on its allocated slots with the
JobMaster's view. Slots which are no longer reported by the JobMaster are being
freed. Slots which the JobMaster thinks it still owns but which are no longer
allocated to it will be failed via {@link JobMasterGateway#failSlot}`.
----------------------------------------------------------------
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