[ 
https://issues.apache.org/jira/browse/BEAM-10051?focusedWorklogId=436589&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-436589
 ]

ASF GitHub Bot logged work on BEAM-10051:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/May/20 17:01
            Start Date: 22/May/20 17:01
    Worklog Time Spent: 10m 
      Work Description: lostluck merged pull request #11768:
URL: https://github.com/apache/beam/pull/11768


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 436589)
    Time Spent: 0.5h  (was: 20m)

> Misordered check WRT closed data readers.
> -----------------------------------------
>
>                 Key: BEAM-10051
>                 URL: https://issues.apache.org/jira/browse/BEAM-10051
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: P2
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This check 
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/harness/datamgr.go#L269
> in it's current position prevents the "normal teardown" that the reader 
> expects. This means that readers for instructions that terminate early such 
> as due to splitting stay resident in memory and never close.
> In practice this is benign as the buffer would already be closed, but with 
> streaming this  memory leak would become noticable.
> The fix is to move the check to after the sentinel check, and additionally 
> check there for early termination to avoid closing the buffer twice.



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

Reply via email to