[ 
https://issues.apache.org/jira/browse/FLINK-5085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15673026#comment-15673026
 ] 

Xiaogang Shi commented on FLINK-5085:
-------------------------------------

Great, this is what i thought of in recent days. Our states are composed of 
thousands of files on HDFS. It takes a long time to delete them in sequence. A 
dedicated executor will help improve the performance.



> Execute CheckpointCoodinator's state discard calls asynchronously
> -----------------------------------------------------------------
>
>                 Key: FLINK-5085
>                 URL: https://issues.apache.org/jira/browse/FLINK-5085
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.2.0, 1.1.3
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>             Fix For: 1.2.0, 1.1.4
>
>
> The {{CheckpointCoordinator}} discards under certain circumstances pending 
> checkpoints or state handles. These discard operations can involve a blocking 
> IO operation if the underlying state handle refers to a file which has to be 
> deleted. In order to not block the calling thread, we should execute these 
> calls in a dedicated IO executor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to