[
https://issues.apache.org/jira/browse/FLINK-26450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504216#comment-17504216
]
Matthias Pohl edited comment on FLINK-26450 at 3/10/22, 12:43 PM:
------------------------------------------------------------------
master: 2c4b296a1bb88c2fd33877a8c1ad3362af9d93ed
was (Author: mapohl):
master: 0318b260f71d357fea020baf8138435614b19287
> FileStateHandle.discardState does not process return value
> ----------------------------------------------------------
>
> Key: FLINK-26450
> URL: https://issues.apache.org/jira/browse/FLINK-26450
> Project: Flink
> Issue Type: Bug
> Components: Connectors / FileSystem, Runtime / Coordination
> Affects Versions: 1.15.0, 1.13.6, 1.14.3
> Reporter: Matthias Pohl
> Assignee: Matthias Pohl
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> The retryable cleanup does not work properly if there's an error appearing
> during the {{FileSystem.delete}} call which is used within
> [FileStateHandle.discardState|https://github.com/apache/flink/blob/c6997c97c575d334679915c328792b8a3067cfb5/flink-runtime/src/main/java/org/apache/flink/runtime/state/filesystem/FileStateHandle.java#L85].
> Some {{FileSystem}} implementations (e.g. S3 presto; see
> [PrestoS3FileSystem:512|https://github.com/prestodb/presto/blob/master/presto-hive/src/main/java/com/facebook/presto/hive/s3/PrestoS3FileSystem.java#L512]
> through [PrestoS3FileSystem.delete(Path,
> boolean)|https://github.com/prestodb/presto/blob/master/presto-hive/src/main/java/com/facebook/presto/hive/s3/PrestoS3FileSystem.java#L480])
> return {{false}} in case of an error which will be swallowed in
> {{FileStateHandle.discardState}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)