You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/03/20 21:13:00 UTC
[jira] [Updated] (FLINK-14650) Thread safety issue in the piece of
code example of dev/stream/testing document
[ https://issues.apache.org/jira/browse/FLINK-14650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-14650:
-----------------------------------
Component/s: API / DataStream
> Thread safety issue in the piece of code example of dev/stream/testing document
> -------------------------------------------------------------------------------
>
> Key: FLINK-14650
> URL: https://issues.apache.org/jira/browse/FLINK-14650
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream, Documentation
> Reporter: Zhenghua Gao
> Priority: Trivial
>
> As mentioned by Gilles in user ML[1], the piece of code example has thread safety issue.
> One possibility is use Collections.synchronizedList() to create a thread-safety list and remove the synchronized keyword.
> [1] [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Documentation-issue-maybe-td30929.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)