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

Gradebook calculation may timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.8 regressions, 2.8.3
    • 2.7.8, 2.8.6
    • Gradebook
    • MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49332-master
    • Hide
      1. Apply the patch file "0001-Testing-MDL-49332.patch"
      2. Generate a XL sized test course (it will not take hours because I commented out the files/assignments/forum posts etc).
        #Go to the grader report page. Once it loads, go into the database and find the course grade_item for the course, set needsupdate to 1.
      3. Reload the grader report and confirm it finishes
        #Revert this branch, go into the database and find the course grade_item for the course, set needsupdate to 1.
        #Reload the grader report and confirm it fails to load

      Note: that if you have your default php max_exectution_time raised, it may not fail even with this ticket not applied

      Show
      Apply the patch file "0001-Testing- MDL-49332 .patch" Generate a XL sized test course (it will not take hours because I commented out the files/assignments/forum posts etc). #Go to the grader report page. Once it loads, go into the database and find the course grade_item for the course, set needsupdate to 1. Reload the grader report and confirm it finishes #Revert this branch, go into the database and find the course grade_item for the course, set needsupdate to 1. #Reload the grader report and confirm it fails to load Note: that if you have your default php max_exectution_time raised, it may not fail even with this ticket not applied

    Description

      The new gradebook recalculation is much more intensive, and sometimes may cause a 30sec timeout, making it so you can never finish.

      Attachments

        Issue Links

          Activity

            People

              emerrill Eric Merrill
              emerrill Eric Merrill
              Zachary Durber Zachary Durber
              David Monllaó David Monllaó
              Jetha Chan Jetha Chan
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15