You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/03/20 03:05:00 UTC
[jira] [Assigned] (FLINK-8394) Lack of synchronization accessing
expectedRecord in ReceiverThread#shutdown
[ https://issues.apache.org/jira/browse/FLINK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vinoyang reassigned FLINK-8394:
-------------------------------
Assignee: vinoyang
> Lack of synchronization accessing expectedRecord in ReceiverThread#shutdown
> ---------------------------------------------------------------------------
>
> Key: FLINK-8394
> URL: https://issues.apache.org/jira/browse/FLINK-8394
> Project: Flink
> Issue Type: Test
> Components: Streaming
> Reporter: Ted Yu
> Assignee: vinoyang
> 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
(v7.6.3#76005)