[ https://issues.apache.org/jira/browse/FLINK-6143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964530#comment-15964530 ]
mingleizhang commented on FLINK-6143: ------------------------------------- [~Zentol] Thanks for your help and the pr is ready now. Could you please help me review ? Many thanks go out to you. > Unprotected access to this.flink in LocalExecutor#endSession() > -------------------------------------------------------------- > > Key: FLINK-6143 > URL: https://issues.apache.org/jira/browse/FLINK-6143 > Project: Flink > Issue Type: Bug > Components: Client > Reporter: Ted Yu > Assignee: mingleizhang > Priority: Minor > > {code} > public void endSession(JobID jobID) throws Exception { > LocalFlinkMiniCluster flink = this.flink; > if (flink != null) { > {code} > The flink field is not declared volatile and access to this.flink doesn't > hold the LocalExecutor.lock -- This message was sent by Atlassian JIRA (v6.3.15#6346)