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

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

Jingsong Lee created FLINK-28066:
------------------------------------

             Summary: 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
             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)