[ https://issues.apache.org/jira/browse/FLINK-28066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-28066: ----------------------------------- Labels: pull-request-available (was: ) > 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 > 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)