akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
956 stars 518 forks source link

PIM-11269: Fix potential lost connection during 6.0 -> 7.0 migration #20339

Closed mmetayer closed 1 year ago

mmetayer commented 1 year ago

During doctrine:migration:migrate, if the pim:product:migrate-to-uuid command lasts more than 8 hours (which can happen with big catalogs), MySQL will close the Doctrine migration's connection, causing the migration to fail. ("MySQL server has gone away...") Also, some SQL queries (make product_id columns nullable) used to be executed even if they didn't need to (already done in a previous attempt).

Definition Of Done (for Core Developer only)