-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.1, 3.8
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_39_STABLE
-
master-
MDL-65729 -
Currently the processing of automated backups runs a single long running cron task with its own bespoke locking.
One problem here is in a Moodle site that has a lot of courses that change often, the rate of change of the courses can be to much for the current way of processing automated backups. This means that automated course backups "get behind" and backups don't happen in a timely manner.
MDL-65201 is a first step to making this better by improving how courses are ordered for automated backups.
This request is to further refactor the automated backup code to:
- Split individual backups into ad-hoc tasks. This gives the ability to run several automated backups in parallel and increase the overall throughput of the processing.
- Remove the custom locking that is in the automated backup code and make automated backups use the regular scheduled task locking.
- caused a regression
-
MDL-69615 Automated backup reports email should be send after all backups are done (all "Ad-hoc task to save pending course")
- Closed
- has been marked as being related by
-
MDL-68739 Course not backed up with CLI script
- Closed
- is parent of
-
MDL-67502 moodle_exception can't be caught in course_backup_task class
- Closed
- will be (partly) resolved by
-
MDL-64610 Add support for per-task concurrency limits
- Closed
-
MDL-65201 Automated backup course ordering
- Closed
-
MDL-66308 Create an admin_setting_configcrontab object
- Closed
-
MDL-67363 Add a Quality of Service layer to the processing of the ad-hoc task queue
- Closed