TokuDB engine fails after upgrade on centos 5/6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Tomislav Plavcic | ||
5.6 |
Fix Released
|
High
|
Tomislav Plavcic |
Bug Description
After fixing the bug on server upgrade on centos 5/6 where it wasn't started if it was running before upgrade (at least the case where pid was located in datadir) it was noticed that if tokudb was installed the server (new upgraded version) got started with the old version of tokudb which then failed to init (BLD-242).
The problem is in the sequence of starting/stopping the server when upgrading so the correct thing is to stop the server, upgrade it and if TokuDB is installed don't start the server until new TokuDB version is unpacked - so that means if it was running before then TokuDB package needs to start it on upgrade.
This affects centos 5/6.
Error looks like:
150112 11:06:42 mysqld_safe mysqld from pid file /var/lib/
150112 11:06:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2015-01-12 11:06:52 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
2015-01-12 11:06:52 14235 [Note] Plugin 'FEDERATED' is disabled.
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for STORAGE ENGINE plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb' with soname 'ha_tokudb.so'.
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_file_map' with soname 'ha_tokudb.so'.
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_trx' with soname 'ha_tokudb.so'.
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_locks' with soname 'ha_tokudb.so'.
2015-01-12 11:06:52 14235 [ERROR] Can't open shared library 'ha_tokudb.so' (errno: 0 API version for INFORMATION SCHEMA plugin is too different)
2015-01-12 11:06:52 14235 [Warning] Couldn't load plugin named 'tokudb_lock_waits' with soname 'ha_tokudb.so'.
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 64 lines (+39/-2)1 file modifiedbuild-ps/percona-server.spec (+39/-2)
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-865