[
https://issues.apache.org/jira/browse/BEAM-11494?focusedWorklogId=542339&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-542339
]
ASF GitHub Bot logged work on BEAM-11494:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jan/21 19:00
Start Date: 26/Jan/21 19:00
Worklog Time Spent: 10m
Work Description: pabloem commented on pull request #13558:
URL: https://github.com/apache/beam/pull/13558#issuecomment-767758056
Considering these results, then we can conclude:
1. If the file appears when listing files in a bucket/directory, it means
that it has been written successfully
2. If a bundle fails in the middle of writing a file (and the file was not
finished), this file will not show up in directory listing
- Furthermore, the file can be safely retried - a new `rewriteToken` will
be created for it
- The bucket-lock policy will not prevent us from starting the `rewrite`
for this file again
So I think this change is safe.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 542339)
Time Spent: 0.5h (was: 20m)
> FileIO.Write overwrites destination files on retries
> ----------------------------------------------------
>
> Key: BEAM-11494
> URL: https://issues.apache.org/jira/browse/BEAM-11494
> Project: Beam
> Issue Type: Improvement
> Components: io-java-files
> Reporter: Pablo Estrada
> Assignee: Pablo Estrada
> Priority: P2
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Users have reported cases of FileIO.Write becoming stuck or failing due to
> overwriting destination files.
> The failure/stuckness occurs because there are some file system buckets with
> strict retention policies that do not allow files to be deleted.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)