Remove/uninstall TokuBackup plugin alongside with TokuDB engine uninstall process

Bug #1520472 reported by Shahriyar Rzayev on 2015-11-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to
Fix Released
Tomislav Plavcic

Bug Description

If both TokuDB engine and TokuBackup plugin activated on server, then somebody tries to uninstall TokuDB only, TokuBackup plugin will still exist on server:

mysql> select plugin_name, plugin_status from information_schema.plugins where plugin_name like '%toku%';
| plugin_name | plugin_status |
| tokudb_backup | ACTIVE |
1 row in set (0.00 sec)

Resulting in inconsistent situation -> if try to take a backup:

mysql> set tokudb_backup_dir='/home/tokubackupdir';
ERROR 1193 (HY000): Unknown system variable 'tokudb_data_dir'

So TokuBackup should be removed(if it is activated) with TokuDB uninstall process.

Roel Van de Paar (roel11) wrote :

Triaged in line with bug 1520099.

tags: added: pkg
Changed in percona-server:
status: Confirmed → Triaged
importance: Medium → High
Tomislav Plavcic (tplavcic) wrote :
Changed in percona-server:
milestone: none → 5.6.27-76.0
assignee: nobody → Tomislav Plavcic (tplavcic)
status: Triaged → Fix Released
Tomislav Plavcic (tplavcic) wrote :

Now when you do --enable-backup it automatically means --enable too, also when you use --disable to uninstall tokudb it automatically means --disable-backup also. But you can install only tokudb without backup and uninstall only backup without touching tokudb.

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers