Remove/uninstall TokuBackup plugin alongside with TokuDB engine uninstall process

Bug #1520472 reported by Shahriyar Rzayev
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

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.

Tags: pkg tokudb
Revision history for this message
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
Revision history for this message
Tomislav Plavcic (tplavcic) wrote :
Changed in percona-server:
milestone: none → 5.6.27-76.0
assignee: nobody → Tomislav Plavcic (tplavcic)
status: Triaged → Fix Released
Revision history for this message
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.

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-947

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.