[ https://issues.apache.org/jira/browse/FLINK-22325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Khachatryan closed FLINK-22325. ------------------------------------- Fix Version/s: (was: 1.12.3) Resolution: Invalid Closing as invalid (as there is a memory fence after compareAndSet for visibility; and iteration can not proceed simultaneously with close because of state check) > Channel state iterator is accessed concurrently without proper synchronization > ------------------------------------------------------------------------------ > > Key: FLINK-22325 > URL: https://issues.apache.org/jira/browse/FLINK-22325 > Project: Flink > Issue Type: Bug > Components: Runtime / Checkpointing > Affects Versions: 1.12.2, 1.13.0 > Reporter: Roman Khachatryan > Assignee: Roman Khachatryan > Priority: Critical > Labels: pull-request-available > Fix For: 1.13.0 > > > ChannelStateWriter adds input/output data that is written by a dedicated > thread. > The data is passed as CloseableIterator. > In some cases, iterator.close can be called from the task thread which can > lead to double release of buffers. -- This message was sent by Atlassian Jira (v8.3.4#803005)