You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we're trying to delete a file and it's already deleted the application doesn't raise an error and doesn't re-try
Actual behavior
If the code can't delete a file that's already been removed, it raises an error (I'm not sure how this happens, but as long as the file is deleted I don't think it matters - I'm guessing that somehow there's a race condition, or multiple servers are running this against the same filesystem at the same time)
Impact of this bug
Noise in the logs, have to re-try the job.
Acceptance criteria
If this change touches any of the files referenced in .rubocop_todo.yml create a new ticket to address the rubocop todo.
If a file is deleted while the delete_stale_files method is being called, it does not stop the code. It does log the error.
Expected behavior
If we're trying to delete a file and it's already deleted the application doesn't raise an error and doesn't re-try
Actual behavior
If the code can't delete a file that's already been removed, it raises an error (I'm not sure how this happens, but as long as the file is deleted I don't think it matters - I'm guessing that somehow there's a race condition, or multiple servers are running this against the same filesystem at the same time)
Impact of this bug
Noise in the logs, have to re-try the job.
Acceptance criteria
.rubocop_todo.yml
create a new ticket to address the rubocop todo.Honeybadger link and code snippet, if applicable
https://app.honeybadger.io/projects/54497/faults/114481686
Implementation notes, if any
Rescue from a
Errno::ENOENT
error, log it, and continueThe text was updated successfully, but these errors were encountered: