Skip to content
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

Transfers: handle failed files in any final job_state. Closes #6043 #6044

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rucio/transfertool/fts3.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def initialize(self, session, logger=logging.log):
if file_state_is_final:
if file_state == FTS_STATE.FINISHED:
new_state = RequestState.DONE
elif file_state == FTS_STATE.FAILED and job_state == FTS_STATE.FAILED or \
elif file_state == FTS_STATE.FAILED and job_state_is_final or \
file_state == FTS_STATE.FAILED and not self._multi_sources: # for multi-source transfers we must wait for the job to be in a final state
if self._is_recoverable_fts_overwrite_error(self.request(session), reason, self._file_metadata):
new_state = RequestState.DONE
Expand Down