-
Bug
-
Resolution: Fixed
-
Major
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-54108-master -
This refers to MDL-53638.
This seems to have added a query (defined in Feedback's upgradelib.php) that results in the following query...
UPDATE mdl_feedback_completed SET courseid = (SELECT COALESCE(MIN(v.course_id), 0) FROM mdl_feedback_value v WHERE v.completed = mdl_feedback_completed.id)
On my test box (which is quite a powerful server) this has now taken over two hours and is still going. I haven't investigated further but it looks to need some performance optimisation.