Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68769

Orphaned adhoc tasks for refresh_mod_calendar_events_task in faildelay loop

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_39_STABLE

      Description

      This is in the cron log:

      refresh_mod_calendar_events_task,Invalid course module ID

      But this fails and then goes in circles forever. It should instead just emit an error and then not throw an exception and then get cleaned up.

      I suspect this happens when a calendar is modified and then an activity maybe deleted quickly and the adhoc tasks get executed out of order.

       

      Note: there is a whole class of different core bugs with adhoc tasks going in circles failing forever. See MDL-68768

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              brendanheywood Brendan Heywood
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: