You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Yichi Zhang (Jira)" <ji...@apache.org> on 2021/03/11 20:59:00 UTC

[jira] [Assigned] (BEAM-11952) WindowMergingFnRunner unnecessarily keeps previous merged results

     [ https://issues.apache.org/jira/browse/BEAM-11952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yichi Zhang reassigned BEAM-11952:
----------------------------------

    Assignee: Yichi Zhang

> WindowMergingFnRunner unnecessarily keeps previous merged results
> -----------------------------------------------------------------
>
>                 Key: BEAM-11952
>                 URL: https://issues.apache.org/jira/browse/BEAM-11952
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-harness
>            Reporter: Yichi Zhang
>            Assignee: Yichi Zhang
>            Priority: P2
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> For example:
> Using session(5), first merge window fn invocation of [1, 5) and [2, 6) will send back the merge result [1, 6): \{[1, 5), [2,6)}, this result will be processed by runner and the runner could have cleaned up [1, 5) and [2, 6).
> Then the second invocation of [10, 15) and [11, 16) comes, instead of just sending back the result for this invocation [10, 16) : \{[10, 15), [11, 16)} the SDK harness will also send back previous result due to the merged widnows not being cleaned up on each invocation.
> This will be a memory leak and will also cause runner to deal with invalid result from the merge window fn request.



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