A safe MySQL upgrade that wasn't so safe

Upgrading a database to end-of-life version led to unexpected issues with row IDs, causing bugs in production. The problem was caused by MySQL's handling of AUTO_INCREMENT columns during replication, which resulted in different ID assignments on the source and replica. [summary] [comments]