XtraDB: creation of MyISAM temporary table causes error messages in log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have 3-nodes XtraDB cluster and i want to migrate applications to this cluster.
Some code creates temporary MyISAM tables and it causes error messages in log on all cluster nodes.
Testcase:
root@db-x01f:~# mysql test
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1045801
Server version: 5.6.20-68.0-56-log Percona XtraDB Cluster (GPL), Release 25.7, wsrep_25.7.r4126
...
mysql> show variables like 'wsrep_
+------
| Variable_name | Value |
+------
| wsrep_replicate
+------
1 row in set (0.00 sec)
mysql> CREATE TEMPORARY TABLE `t` ( id int(8)) ENGINE=MYISAM;
Query OK, 0 rows affected (0.00 sec)
mysql> insert into t values(1);
Query OK, 1 row affected (0.00 sec)
mysql> select * from t;
+------+
| id |
+------+
| 1 |
+------+
1 row in set (0.00 sec)
Error message (appears on all other nodes in cluster):
2014-11-11 23:57:16 18553 [ERROR] Slave SQL: Error 'Table 'test.t' doesn't exist' on query. Default database: 'test'. Query: 'insert into t values(1)', Error_code: 1146
2014-11-11 23:57:16 18553 [Warning] WSREP: RBR event 1 Query apply warning: 1, 2102331
2014-11-11 23:57:16 18553 [Warning] WSREP: Ignoring error for TO isolated action: source: f4057a94-
Versions:
root@db-x01f:~# dpkg -l | grep percona
ii percona-repo-config 1.2 all Configures Percona mirror repo
ii percona-toolkit 2.2.11 all Advanced MySQL and system command-line tools
ii percona-xtrabackup 2.2.5-5027-1.trusty amd64 Open source backup tool for InnoDB and XtraDB
ii percona-
ii percona-
ii percona-
ii percona-
root@mtacs-x01f:~#
affects: | percona-server → percona-xtradb-cluster |
Temporary tables are not replicated in ROW based replication (hence in Galera).