- 🇩🇪Germany keinstein
Actually I don't remember. I think nodes and Menu items were involved. I have German, English and Russian translations active. Most of the failed queries involved migration state tables. And I don't think that this issue can be solved only for some migrations.
My solution was:
Change all tables to utf8mb4_unicode_ci, and then I exposed the missing database parameters such as collation to the migration form, so that the new database can be generated as utf8mb4_unicode_ci instead of utf8mb4_general_ci. This is a way that worked for me.If you want to reproduce the issue try to set up a drupal site with real language content (umlauts, cyrillic letters, etc.) in utf8mb4_unicode_ci encoding and upgrade it using stock Drupal 9.
Maybe the result changes depending whether you allow incremental upgrades. I had them enabled.
I don't know how to create and execute a corresponding test case.