TokuDB engine fails after upgrade on centos 5/6

Bug #1413956 reported by Tomislav Plavcic
6
This bug affects 1 person
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/mysql/centos6.pid ended
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_defaults_for_timestamp server option (see documentation for more details).
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_fractal_tree_info' 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_fractal_tree_block_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_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'.

Tags: pkg tokudb

Related branches

description: updated
tags: added: pkg tokudb
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-865

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.