tokudb upgrade fails during the 5.6 -> 5.7 upgrade
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Invalid
|
High
|
Tomislav Plavcic | |||
5.7 |
Fix Released
|
High
|
Tomislav Plavcic |
Bug Description
On deb distributions if you have Percona Server 5.5 installed and run:
apt-get install percona-
It will automatically give you option to remove the 5.5 packages and install 5.6 version. The same thing works between 5.6 and 5.7 unless tokudb package is installed.
In case you run:
apt-get install percona-
Tokudb package won't get marked for upgrade:
root@trusty:~# apt-get install percona-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjemalloc1 libperconaserve
percona-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
percona-
The following packages will be REMOVED:
percona-
percona-
The following NEW packages will be installed:
percona-
percona-
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Need to get 18.7 MB of archives.
After this operation, 34.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
or if you add the tokudb package to the list, upgrade will fail:
root@trusty:~# apt-get install percona-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libperconaser
percona-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
percona-
The following packages will be REMOVED:
percona-
percona-
The following NEW packages will be installed:
percona-
percona-
0 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
Need to get 21.3 MB of archives.
After this operation, 45.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 21.3 MB in 6s (3,140 kB/s)
Preconfiguring packages ...
(Reading database ... 35441 files and directories currently installed.)
Removing percona-
Removing percona-
* Stopping MySQL (Percona Server) mysqld [ OK ]
Removing percona-
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Selecting previously unselected package percona-
(Reading database ... 35178 files and directories currently installed.)
Preparing to unpack .../percona-
Unpacking percona-
Selecting previously unselected package percona-
Preparing to unpack .../percona-
Unpacking percona-
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up percona-
Selecting previously unselected package percona-
(Reading database ... 35295 files and directories currently installed.)
Preparing to unpack .../percona-
.
Unpacking percona-
Selecting previously unselected package percona-
Preparing to unpack .../percona-
Unpacking percona-
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up percona-
Setting up percona-
Installing new version of config file /etc/default/mysql ...
Installing new version of config file /etc/init.d/mysql ...
* Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit.
* Run the following commands to create these functions:
mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
* See http://
No directory, logging in with HOME=/
.151216 16:14:01 mysqld_safe mysqld_safe must be run as root for setting transparent huge pages!
.......
Changed in percona-server: | |
assignee: | nobody → Tomislav Plavcic (tplavcic) |
importance: | Undecided → High |
PR: https:/ /github. com/percona/ percona- server/ pull/310 server- server- 5.7 percona- server- tokudb- 5.7" is needed (so both packages named).
Just info: when doing upgrades with existing tokudb package "sudo apt-get install percona-
This is because the server package doesn't depend on tokudb package - so currently I don't see how this can be simplified.