Simply attaching gdb (then detaching immediately) to a running Percona mysqld instance causes Percona-server to disconnect clients with running queries. Clients get "Lost connection to MySQL server during query" but reconnecting works fine and the server seem to be healthy after that. Same happens if you attach then continue. This bug makes using "pstack" and "poor man's profilier" impossible without disconnecting clients.
Percona-server 5.5.13, CentOS 5.6, gdb 7.0.1
Interestingly, it does not happen with original mysqld (5.5.10).
Simply attaching gdb (then detaching immediately) to a running Percona mysqld instance causes Percona-server to disconnect clients with running queries. Clients get "Lost connection to MySQL server during query" but reconnecting works fine and the server seem to be healthy after that. Same happens if you attach then continue. This bug makes using "pstack" and "poor man's profilier" impossible without disconnecting clients.
Percona-server 5.5.13, CentOS 5.6, gdb 7.0.1
Interestingly, it does not happen with original mysqld (5.5.10).