[jira] [Created] (FLINK-19024) Remove unused "releaseMemory" from ResultSubpartition

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

[jira] [Created] (FLINK-19024) Remove unused "releaseMemory" from ResultSubpartition

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-19024:
------------------------------------

             Summary: Remove unused "releaseMemory" from ResultSubpartition
                 Key: FLINK-19024
                 URL: https://issues.apache.org/jira/browse/FLINK-19024
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Network
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.12.0


The {{releaseMemory()}} call in the {{ResultSubpartition}} is currently not meaningful for any existing implementation.

Future versions where memory may have to be released will quite possibly not implement that on a "subpartition" level. For example, a sort based shuffle has the buffers on a partition-level, rather than a subpartition level.

We should thus remove the {{releaseMemory()}} call from the abstract subpartition interface. Concrete implementations can still release memory on a subpartition level, if needed in the future.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)