[
https://issues.apache.org/jira/browse/FLINK-20837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xintong Song closed FLINK-20837.
--------------------------------
Resolution: Done
Merged via
* master (1.13): 8dc257dcd3907cd42c15bd1748e4e1954e15696c
> Refactor dynamic SlotID
> -----------------------
>
> Key: FLINK-20837
> URL: https://issues.apache.org/jira/browse/FLINK-20837
> Project: Flink
> Issue Type: Sub-task
> Reporter: Yangze Guo
> Assignee: Yangze Guo
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> In FLINK-14189, we specified that the SlotID whose slot number is -1
> represents the dynamic slot. However, the SlotID with a negative slot number
> will be treated as invalid in other components, e.g. SlotPool and
> SlotManager. We have to remove a lot of sanity checks with this change, which
> is error-prone. The evidence is that there are still some sanity checks that
> have not been removed, e.g. sanity checks in AllocatedSlotInfo.
> We propose to assign an increasing number larger than the numberOfSlot to
> dynamic slots. In this way, we can decouple the JM and RM with the dynamic
> slot logic.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)