-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-12740] [BEAM-8268] Improve error handling and retries for GCS rename used by FileBasedSink #15301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BEAM-12740] [BEAM-8268] Improve error handling and retries for GCS rename used by FileBasedSink #15301
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -775,7 +775,10 @@ final void moveToOutputFiles( | |
| dstFiles, | ||
| StandardMoveOptions.IGNORE_MISSING_FILES, | ||
| StandardMoveOptions.SKIP_IF_DESTINATION_EXISTS); | ||
| removeTemporaryFiles(srcFiles); | ||
|
||
|
|
||
| // The rename ensures that the source files are deleted. However we may still need to clean | ||
| // up the directory or orphaned files. | ||
| removeTemporaryFiles(Collections.emptyList()); | ||
| } | ||
|
|
||
| /** | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.