flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-8415) Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()
Date Wed, 28 Mar 2018 06:14:00 GMT

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

Till Rohrmann resolved FLINK-8415.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Fixed via
master: dc0f344f3c345765a59fcce60841fa565fde1047
1.5.0: dcec0820d56670b302835331f63efc81e537dc9e

> Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()
> ------------------------------------------------------------------------
>
>                 Key: FLINK-8415
>                 URL: https://issues.apache.org/jira/browse/FLINK-8415
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> {code}
>   public void shutdown() {
>     running = false;
>     recordsToSend.complete(0L);
> {code}
> In other methods, access to recordsToSend is protected by synchronized keyword.
> shutdown() should do the same.



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

Mime
View raw message