Bug #100242 | Upgrade from MySQL 8.0.16 to MySQL 8.0.18 failed | ||
---|---|---|---|
Submitted: | 17 Jul 2020 5:48 | Modified: | 7 May 14:14 |
Reporter: | lyp tennyson | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.18 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[17 Jul 2020 5:48]
lyp tennyson
[12 Aug 2020 16:52]
MySQL Verification Team
Hi, I tried number of times but I cannot reproduce this problem. Basically you should of waited for slave stop to finish properly and do a shutdown. By kill -9 you brought a server in an "unknown" state that was improper for the upgrade. all best Bogdan
[7 May 14:07]
Simon Mudd
FWIW: I have seen similar issues in: - 8.0.30 -> 8.0.34 - 8.4.4 -> 8.4.5 upgrades. This sort of thing happens very infrequently but I've seen it twice now.
[7 May 14:14]
MySQL Verification Team
Thanks for the update. I'm still having issue reproducing this. If anyone can give us the db structure that fails it will help speed up finding the solution.
[10 Jun 1:48]
yangyang wang
I encountered the same problem in the production environment. When I was performing a cross-version backup recovery, the upgrade from 8025 to 8028 failed, causing the recovery failure. 2025-06-09T18:17:03.117990+08:00 4 [System] [MY-013381] [Server] Server upgrade from '80025' to '80028' started. 2025-06-09T19:40:25.654835+08:00 4 [ERROR] [MY-013178] [Server] Execution of server-side SQL statement 'ALTER TABLE slave_worker_info STATS_PERSIS ut exceeded; try restarting transaction".
[10 Jun 5:48]
MySQL Verification Team
You need to be sure a clean shutdown is performed before upgrading. Otherwise there may be lingering internal XA transactions created by the replication threads. I've filed a report internally but we cannot give ETA: Bug 37922965 - Refuse to begin upgrade when last shutdown was unclean