You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2022/06/17 08:09:00 UTC

[jira] [Assigned] (FLINK-28066) Use FileSystem.createRecoverableWriter in FileStoreCommit

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

Jingsong Lee reassigned FLINK-28066:
------------------------------------

    Assignee: Jingsong Lee

> Use FileSystem.createRecoverableWriter in FileStoreCommit
> ---------------------------------------------------------
>
>                 Key: FLINK-28066
>                 URL: https://issues.apache.org/jira/browse/FLINK-28066
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table Store
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: table-store-0.2.0
>
>
> In FileStoreCommitImpl, currently, it uses `rename` to support atomic commit.
> But this is not work for object store like S3. We can use RecoverableWriter to support atomic commit for object store.
> We can introduce `AtomicFileCommitter`:
>  * Use RecoverableWriter if FileSystem supports createRecoverableWriter
>  * Use rename if createRecoverableWriter is not supported



--
This message was sent by Atlassian Jira
(v8.20.7#820007)