anthology-ally / moodle-tool_ally

2 stars 18 forks source link

Upgrade timeout #51

Closed aspark21 closed 2 years ago

aspark21 commented 3 years ago

Upgrading to the latest version of Ally times out. It seems obvious that it's related to this change: https://github.com/open-lms-open-source/moodle-tool_ally/commit/246af8a21c61343d05f1a655028512a8e5443c1f

You have to keep in mind that this table is ginormous at 150GB after a year. This is even bigger than the mdl_logstore_standard_log table! So adding an index during the upgrade is probably not a good idea. Need to do a clear out first.

aspark21 commented 2 years ago

Fixed by https://github.com/open-lms-open-source/moodle-tool_ally/commit/f0311e816f972d261bca56af9b531caf8fabf0bd