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

Wencong Liu commented on FLINK-27204:
-------------------------------------

Sorry, I may have confused the relationship between Flink annotations and Java 
access modifiers. After all, there are quite a few changes to the code when 
converting all IO-related methods in JobResultStore to asynchronous. Anyway, 
thank you for your answer.

> FileSystemJobResultStore should operator on the ioExecutor
> ----------------------------------------------------------
>
>                 Key: FLINK-27204
>                 URL: https://issues.apache.org/jira/browse/FLINK-27204
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.16.0
>            Reporter: Matthias Pohl
>            Assignee: Wencong Liu
>            Priority: Major
>
> The {{JobResultStore}} interface is synchronous currently. For the 
> {{FileSystemJobResultStore}} this means that (possibly) IO-heavy operations 
> have to be explicitly called moved to the ioExecutor within the Dispatcher.
> Instead, we could change the {{JobResultStore}} interface in a way that it 
> returns {{CompletableFuture}} instances instead. That would enable us to run 
> the {{FileSystemJobResultStore}} operations in the ioExecutor which would be 
> set when initializing the {{{}FileSystemJobResultStore{}}}. This would move 
> the responsibility of where to run the operation from the {{Dispatcher}} into 
> the {{JobResultStore.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to