Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.5, 2.5
-
Component/s: Backup, Performance
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
-
Fixed Branches:MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-40585_grouped_parent_exists -
Pull Master Diff URL:
Description
Restoring large numbers of questions in a restore results in the grouped_parser_processor::grouped_parent_exists getting called many millions of times. However due to the XML structure there are only a few parent paths to the top of the XML tree.
Removing the calls to progressive_parser::dirname($parentpath) and being able to complete simple cache lookups will reduce restore times significantly.
Attachments
Issue Links
- has been marked as being related by
-
MDL-41674 grouped_parser_processor::grouped_parent_exists is called too much
-
- Closed
-
- is blocked by
-
MDLSITE-2343 Cannot upload some attachments to the tracker
-
- Closed
-