flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-8394) Lack of synchronization accessing expectedRecord in ReceiverThread#shutdown
Date Tue, 09 Jan 2018 20:44:00 GMT
Ted Yu created FLINK-8394:
-----------------------------

             Summary: Lack of synchronization accessing expectedRecord in ReceiverThread#shutdown
                 Key: FLINK-8394
                 URL: https://issues.apache.org/jira/browse/FLINK-8394
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
  public void shutdown() {
    running = false;
    interrupt();
    expectedRecord.complete(0L);
{code}
Access to expectedRecord should be protected by synchronization, as done on other methods.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message