oc_files_metadata migration from JSON to TEXT fields takes long on large instances #43571
Labels
1. to develop
Accepted and waiting to be taken care of
27-feedback
bug
feature: install and update
performance 🚀
#37146 introduced a migration which on large instances can take hours to complete. We need to find a different approach to support migration of those instances.
We could try to find an option to migrate those values in a background job and only drop the old column afterwards but would need to handle this gracefully in code that gets the content. Another option could be to just drop the table and recreate it, but that would require that any data in it can be scanned again.
@artonge @sorbaugh
The text was updated successfully, but these errors were encountered: