[jira] [Created] (FLINK-12667) Add JobID argument to TaskExecutorGateway#releasePartitions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12667) Add JobID argument to TaskExecutorGateway#releasePartitions

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-12667:
----------------------------------------

             Summary: Add JobID argument to TaskExecutorGateway#releasePartitions
                 Key: FLINK-12667
                 URL: https://issues.apache.org/jira/browse/FLINK-12667
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Coordination
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.9.0


The TM is informed about partitions that should be releases via {{TaskExecutorGateway#releasePartitions(Collection<ResultPartitionID>)}}.
This signature makes it a bit tricky to keep track of which partitions still exist for a given job, as the TM would have to maintain a map (partition -> jobID), in addition to a map (jobID -> partitions)

We could include the JobID as a parameter to simplify this. This doens't interfere with current use-cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)