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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Roman Khachatryan created FLINK-21365:
-----------------------------------------

             Summary: Visibility issue in FutureUtils.ResultConjunctFuture.handleCompletedFuture
                 Key: FLINK-21365
                 URL: https://issues.apache.org/jira/browse/FLINK-21365
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.12.1
            Reporter: Roman Khachatryan
            Assignee: Roman Khachatryan
             Fix For: 1.12.2, 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)