You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2018/01/05 11:16:00 UTC
[jira] [Created] (FLINK-8371) Buffers are not recycled in a
non-spilled SpillableSubpartition upon release
Nico Kruber created FLINK-8371:
----------------------------------
Summary: Buffers are not recycled in a non-spilled SpillableSubpartition upon release
Key: FLINK-8371
URL: https://issues.apache.org/jira/browse/FLINK-8371
Project: Flink
Issue Type: Bug
Components: Network
Affects Versions: 1.3.2, 1.4.0, 1.3.1, 1.2.1, 1.3.0, 1.2.0
Reporter: Nico Kruber
Assignee: Nico Kruber
{{SpillableSubpartition}} only recycles buffers in its {{buffer}} queue if there is no view attached to it yet. If there is a view, it delegates this task to the view, but {{SpillableSubpartitionView}} only instructs the {{SpilledSubpartitionView}} to clean up in its {{releaseAllResources()}}.
Similarly to the {{PipelinesSubpartition}} implementation, we should always clean up and recycle the buffers in {{SpillableSubpartition#release()}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)