-
Improvement
-
Resolution: Fixed
-
Major
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-67667-main -
- Copy the attached mdl67667.php into your moodle root
- Run it
- Confirm you were shown notices that the methods are deprecated
The is_blocking concept in the Task API has never really received much interest. The current and original implementation since 2.7 is buggy so it doesn't actually block correctly at all at scale (see MDL-67597). It's also the root cause of scaling issues (mostly mitigated in MDL-67486)
So proposing to deprecate this completely.
Forum to discuss deprecation:
- has a non-specific relationship to
-
MDL-67597 Blocking cron tasks only effectively lock into the future not the past, ie race condition
- Closed
-
MDL-67648 Cron task manager quality of service (version 3)
- Closed
- has been marked as being related by
-
MDL-80345 Hash collision guaranteed to break Cron with 'locktimeout' (only with PostgreSQL)
- Closed
- has to be done before
-
MDL-81509 Final deprecation of task_base::is_blocking and set_blocking
- Closed
- links to