You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2021/02/15 19:23:00 UTC

[jira] [Closed] (FLINK-21365) Visibility issue in FutureUtils.ResultConjunctFuture.handleCompletedFuture

     [ https://issues.apache.org/jira/browse/FLINK-21365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Nowojski closed FLINK-21365.
----------------------------------
    Resolution: Not A Problem

It turned out to be a non-issue. Contract clarified as commit fa401b2 in apache:master

> Visibility issue in FutureUtils.ResultConjunctFuture.handleCompletedFuture 
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-21365
>                 URL: https://issues.apache.org/jira/browse/FLINK-21365
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.13.0
>            Reporter: Roman Khachatryan
>            Assignee: Piotr Nowojski
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>
> * FutureUtils.ResultConjunctFuture.handleCompletedFuture can update *results* array from multiple threads
> * The array is declared as volatile but this only means the reference is volatile, not the contents
> * There are no other guards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)