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

Avoid retrying faulty uploads when upload job process throws error #385

Open
ferishili opened this issue Aug 7, 2024 · 0 comments · May be fixed by #386
Open

Avoid retrying faulty uploads when upload job process throws error #385

ferishili opened this issue Aug 7, 2024 · 0 comments · May be fixed by #386
Assignees
Labels

Comments

@ferishili
Copy link
Contributor

Description

It has been determined that, when there is an error during the upload process mostly in opencast side and in this case, when opencast throws "Forbidden" error during the upload to put the video in the assets. Then it results in a bunch of faulty events in opencast without any video but the same metadata. And that is because the cron job does not handle the error properly and processes the faulty job once again in the next iteration.

Solution

  • Provide a setting to limit the number of iteration after an error occurs: setting it as 0 will result in removing the job directly after the error!
  • Log and inform admin about the situation
@ferishili ferishili added the bug label Aug 7, 2024
@ferishili ferishili self-assigned this Aug 7, 2024
ferishili added a commit to ferishili/moodle-block_opencast that referenced this issue Aug 8, 2024
@ferishili ferishili linked a pull request Aug 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant