[MDEV-8672] Mariadb 10.1.6 crashed on upgrade from 10.0.x Created: 2015-08-24 Updated: 2020-12-08 Resolved: 2015-11-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.6, 10.1.8, 10.1 |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Moshe L | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 5 |
| Labels: | None | ||
| Environment: |
Windows 2008 R2 , Debian sid |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.9-2 | ||||||||
| Description |
|
Installed 10.1.6 over 10.0.20. upgrade from install failed and mysqld do not load.
and in the log:
when I am running 10.0 on the same data folder, all is OK. |
| Comments |
| Comment by Elena Stepanova [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Is it a test instance or production, and how big is the data set? Would you be able to upload the datadir to our ftp? (ftp.askmonty.org/private, only MariaDB developers will have access to it). Thanks. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
My.ini attached dataset - 21GB compressed one database, all ~ 30GB, with innodb_file_per_table if it relevant (I can upload some of the tables, but not all of them, maybe will help you). there is no changes opun upgrade (I was tried to use INNODB Recover to make it work, without help). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks, yes, please upload whatever you can. The partial data is likely not to work, but it's worth trying anyway. Besides, it's possible the problem is in system tables which the server complains about in your error log (mysql.innodb_table_stats and such), which you will hopefully be able to provide. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
1. please send me an email (m@inn.co.il). I will upload an non-sensitive information so you can check. 2. tables `x has the wrong structure` - there is a tables in 10.0 format (the old one), so I just need to run mysql_upgrade to make it works. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What kind of email? If you mean credentials for FTP (ftp.askmonty.org/private), anyone can upload there, but only MariaDB developers can read from there.
"has wrong structure" error messages are of course indeed just that. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
1. yes, FTP cred. 2. I was tried to upgrade via wizard and mysqld was crashed in the wizard. maybe some tables was updated before the crash. Elena Stepanova commented on
What kind of email? If you mean credentials for FTP (ftp.askmonty.org/private), anyone can upload there, but only MariaDB developers can read from there.
"has wrong structure" error messages are of course indeed just that. – | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks. One more thing, in the 'Environment' field you put both Windows 2008 R2 and Debian sid. Does it mean you actually have two instances which have the same problem? Can you provide the error log from the Debian instance as well? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I was tried a month ago to do the same thing on a clone of our production server, and upgrading to 10.1.5 (as I remember), and see the same problem (won't load, things like this). I do not have the logs from the Debian machine, as it was deleted... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rodrigo Gómez [ 2015-10-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've just tried upgrading from 10.0.21 to 10.1.8 and got this same error. Couldn't make it work at all, so I had to revert to 10.0.21 In my case it's Windows 2012 R2. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Isi R [ 2015-10-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Same problem. Tried updating from 10.0.21 to 10.1.8 Here are some of the entries on syslog: {{2015-10-18 02:07:06 7f63aa7f9700 InnoDB: Error: trying to access tablespace 805539775 page no. 1342472192, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-10-23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
upgraded to 10.1.8 , working . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I created database using 10.0.22, created some tables with data and shutdown. Then started MariaDB 10.1.8 and mysql_upgrade. No crashes, but following errors:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
mysql_upgrade should remove that foreign key from innodb_table_stats, similarly it should fix the last_update field, but something is not right. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Actually, I see it correctly after shutdown, so you should shutdown after mysql_upgrade.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-10-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
See also | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-10-29 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can someone provide full unedited error log from this upgrade, and if you have a database where this repeats, providing that will also help to get bottom of this. I tested migrate reported on | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kym Farnik [ 2015-10-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by tuxmaster [ 2015-11-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Same on CentOS 7.1
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-11-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, can you try with latest version on git with commit 25f8738112b05f33cfa45eabfebf6edfc80e6d8a to verify does that also help here (it should). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-11-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Duplicate to | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2015-11-25 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Upgraded to 10.1.9, fixed. |