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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Ted Yu created FLINK-8415:
-----------------------------

             Summary: Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()
                 Key: FLINK-8415
                 URL: https://issues.apache.org/jira/browse/FLINK-8415
             Project: Flink
          Issue Type: Bug
            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
(v6.4.14#64029)