You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/03/01 22:01:00 UTC

[jira] [Updated] (FLINK-8415) Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()

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

Ted Yu updated FLINK-8415:
--------------------------
    Description: 
{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.

  was:
{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.


> 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
>            Priority: Minor
>
> {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)