You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/04/27 21:28:04 UTC

[jira] [Resolved] (FLINK-6400) Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint

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

Stephan Ewen resolved FLINK-6400.
---------------------------------
       Resolution: Fixed
         Assignee: Stephan Ewen
    Fix Version/s: 1.3.0

Fixed in fcb13e1f54cc8d634416b41d5fc41518806a1885

> Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-6400
>                 URL: https://issues.apache.org/jira/browse/FLINK-6400
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Stephan Ewen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Here is related code:
> {code}
>     synchronized (triggerLock) {
> ...
>       try {
>         List<MasterState> masterStates = MasterHooks.triggerMasterHooks(masterHooks.values(),
> {code}
> masterHooks is protected by lock in other methods while triggerLock is only used in CheckpointCoordinator#triggerCheckpoint()



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)