Hi,
I'm running Percona XtraDB Cluster, and in my testing, I'm finding that I'm unable to kill a connection if a DDL statement (in my case, adding a column to a large table) is in progress. Here's the versions of the server I'm running.
ii percona-xtradb-cluster-client-5.5 5.5.31-23.7.5-438.lucid Percona Server database client binaries
ii percona-xtradb-cluster-common-5.5 5.5.31-23.7.5-438.lucid Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii percona-xtradb-cluster-galera-2.x 152.lucid Galera components of Percona XtraDB Cluster
ii percona-xtradb-cluster-server-5.5 5.5.31-23.7.5-438.lucid Percona Server database server binaries
If I try to kill the connection using "KILL <thread id>" from another MySQL connection, I get the following error: ERROR 1095 (HY000): You are not owner of thread 757080. If I try to cancel the query from within the same connection (ie. pressing ^C in the MySQL client console), I get the prompt back but the query continues in the background.
Is this expected behavior? Since I'm also seeing long running DDL statements locking the cluster to writes, what is the recommended way to recover if someone accidentally starts a DDL statement and we can't wait for it to finish?