You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2023/04/24 07:29:00 UTC

[jira] [Created] (FLINK-31907) Remove unused fields inside of ExecutionSlotSharingGroupBuilder

Rui Fan created FLINK-31907:
-------------------------------

             Summary: Remove unused fields inside of ExecutionSlotSharingGroupBuilder
                 Key: FLINK-31907
                 URL: https://issues.apache.org/jira/browse/FLINK-31907
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.18.0
            Reporter: Rui Fan
            Assignee: Rui Fan


FLINK-22767 introduced `availableGroupsForJobVertex` to improve the performance during task to slot scheduler.

After FLINK-22767, the `executionSlotSharingGroups`[2] is unused, and it can be removed.

 

[1] https://github.com/apache/flink/blob/f9b3e0b7bc0432001b4a197539a0712b16e0b33b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java#L153

[2] https://github.com/apache/flink/blob/f9b3e0b7bc0432001b4a197539a0712b16e0b33b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java#L136



--
This message was sent by Atlassian Jira
(v8.20.10#820010)