-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.4, 3.8.1, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
master_
MDL-67980 -
Currently, there is no sorting in `get_next_adhoc_task()` method:
Therefore, database engine returns unsorted set of records and under some circumstances records with more recent `nextruntime` can go ahead of records with later `nextruntime`.
In scenario when we are catching up with some ad-hoc tasks we want the latest tasks to be processed first.
To guarantee this we should add explicit sorting by `nextruntime`.
- has been marked as being related by
-
MDL-80957 Ad Hoc tasks not running in nextruntime order
-
- Open
-