Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38189 META Backup/restore issues with large courses
  3. MDL-41669

Restore: Progress bar needs to include more tasks

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      Hide

      NOTE: The display of progress bars depends on server performance. If you don't see progress bars using the M size test course, you could use an L size test course instead.

      1. Use the option 'Development/Make test course' to make an 'M' sized test course if you don't already have one.
      2. Create a backup of the M sized test course if you don't already have one (using default settings).
      3. Select to restore the backup.
      EXPECTED: The progress bar you get while it's unzipping now has a heading 'Preparing to display page'. (This is a generic message because it uses the same message when initialising UI for all the pages, if it takes too long.)

      4. Continue through the restore procedure. On the final processing step, check the display.

      EXPECTED: A 'Preparing data' progress bar should now appear (and then disappear again), before the main restore progress bar appears.

      5. Complete the restore to check it finishes successfully.

      Show
      NOTE: The display of progress bars depends on server performance. If you don't see progress bars using the M size test course, you could use an L size test course instead. 1. Use the option 'Development/Make test course' to make an 'M' sized test course if you don't already have one. 2. Create a backup of the M sized test course if you don't already have one (using default settings). 3. Select to restore the backup. EXPECTED: The progress bar you get while it's unzipping now has a heading 'Preparing to display page'. (This is a generic message because it uses the same message when initialising UI for all the pages, if it takes too long.) 4. Continue through the restore procedure. On the final processing step, check the display. EXPECTED: A 'Preparing data' progress bar should now appear (and then disappear again), before the main restore progress bar appears. 5. Complete the restore to check it finishes successfully.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-41669-master

      Description

      (This is a continuation/final part of the efforts I've been going through to try to get Moodle to restore my 'L' test course.)

      1. The restore system does not display a progress bar for precheck, only for the main restore stage. As a result it can time out during the precheck.

      2. There are some aspects of precheck (and main restore) where an individual task step can take long enough that restore still times out even though there is a progress update between each step. We need to add indeterminate progress display during these steps.

      Note: I've already done work on this (it needs tidying up). The L course restore completes, albeit in 4.5 hours.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quen Sam Marshall
                Reporter:
                quen Sam Marshall
                Peer reviewer:
                Dan Poltawski
                Integrator:
                Marina Glancy
                Tester:
                Ankit Agarwal
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13