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

Orphaned adhoc tasks for refresh_mod_calendar_events_task in faildelay loop

    XMLWordPrintable

Details

    • 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

              Unassigned Unassigned
              brendanheywood Brendan Heywood
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: