[ https://issues.apache.org/jira/browse/FLINK-12736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879077#comment-16879077 ]
Till Rohrmann commented on FLINK-12736: --------------------------------------- This sounds like a very good idea [~azagrebin]. > ResourceManager may release TM with allocated slots > --------------------------------------------------- > > Key: FLINK-12736 > URL: https://issues.apache.org/jira/browse/FLINK-12736 > Project: Flink > Issue Type: Bug > Components: Runtime / Coordination > Affects Versions: 1.9.0 > Reporter: Chesnay Schepler > Assignee: Andrey Zagrebin > Priority: Critical > Labels: pull-request-available > Fix For: 1.9.0 > > Time Spent: 10m > Remaining Estimate: 0h > > The {{ResourceManager}} looks out for TaskManagers that have not had any > slots allocated on them for a while, as these could be released to safe > resources. If such a TM is found the RM checks via an RPC call whether the TM > still holds any partitions. If no partition is held then the TM is released. > However, in the RPC callback no check is made whether the TM is actually > _still_ idle. In the meantime a slot could've been allocated on the TM. -- This message was sent by Atlassian JIRA (v7.6.3#76005)