Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293850

system_post_update_sort_all_config can exhaust PHP memory in 9.3.0 because processing is not batched

$
0
0

Problem/Motivation

On a Drupal installation with a large number of configuration files (I have one with over 1,900), It is not possible to update Drupal core to 9.3.0. When the update gets to the "sort_all_config" post-update hook, that hook fails with allowed memory exhausted.

Proposed resolution

The function system_post_update_sort_all_config() in system.post_update.php attempts to update all configuration files in a single execution. This should be converted to a batch process.

Remaining tasks

Review the patch file provided in this issue.

Release notes snippet

TBD


Viewing all articles
Browse latest Browse all 293850


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>