Unrelated general error message after killing tokubackup process

Bug #1524861 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
Status tracked in 5.7
5.6
Triaged
Medium
Unassigned
5.7
Triaged
Medium
Unassigned

Bug Description

If you try to kill TokuBackup backup process you will get:

mysql> select @@version;
+-----------------+
| @@version |
+-----------------+
| 5.6.27-76.0-log |
+-----------------+
1 row in set (0.00 sec)

mysql> set tokudb_backup_dir='/home/tokubackupdir';
^CCtrl-C -- sending "KILL QUERY 41" to server ...
Ctrl-C -- query aborted.
ERROR 1231 (42000): Variable 'tokudb_backup_dir' can't be set to the value of '/home/tokubackupdir'

Error is similar to errors when backup directory is missing, not writeable etc.

We can get "User aborted backup" message only with query:

mysql> SELECT @@tokudb_backup_last_error_string;
+------------------------------------------------------------------------------------------+
| @@tokudb_backup_last_error_string |
+------------------------------------------------------------------------------------------+
| User aborted backup; COPY phase returned an error: 1152 error 1152 (Unknown error 1152) |
+------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

Instead of confusing users just leave it with usual "query aborted" message.

Tags: tokubackup
Revision history for this message
George Ormond Lorch III (gl-az) wrote :
tags: removed: tokudb
no longer affects: percona-server/5.1
no longer affects: percona-server/5.5
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-1680

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.