Problem/Motivation
Without at least one hook_update_dependencies() implementation, database updates run in non-deterministic order. This is a problem for media_entity_update_8201, which tries to alter database columns in the media_revision table. The columns may not exist by the time the update hook runs, since they are created by system_update_8400. This can cause database schema exceptions that totally break the update path.
Proposed resolution
Implement hook_update_dependencies() to ensure that media_entity_update_8201 runs after system_update_8400.
Remaining tasks
Patch, review, commit, sigh of relief.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
phenaproximaUpdating the IS a bit.
Comment #3
phenaproximaOkay, friends...
Comment #4
phenaproximaBumping priority to critical, since this blocks the update path.
Comment #5
seanbLooks good to me. We could probably remove the change below.
This is fixed by #2916788-9: system_update_8402 does not affect media entities
Comment #6
phenaproximaAgreed. How does this look?
Comment #7
seanbPerfect!
Comment #9
phenaproxima