Waiting for binlog lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
Some slaves are behind and hung with status "Waiting for binlog lock" while xtrabackup is running.
Server version: 5.6.25-73.1-log Percona Server (GPL), Release 73.1, Revision 07b797f
xtrabackup version 2.2.12 based on MySQL server 5.6.24 Linux (x86_64) (revision id: 8726828)
root 5269 5243 0 05:00 ? 00:00:00 perl /usr/bin/
root 5289 5269 0 05:00 ? 00:00:22 xtrabackup --defaults-
mysql> show slave status\G
*******
Replicate
Replicate_
Master_
Replicate_
Slave_
Last_
Last_
1 row in set (0.00 sec)
mysql> show processlist;
+------
| Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined |
+------
| 5 | system user | | NULL | Connect | 6845243 | Waiting for master to send event | NULL | 0 | 0 |
| 6 | system user | | NULL | Connect | 2654 | Waiting for binlog lock | NULL | 0 | 0 |
| 4429539 | SUSR_Monitor | 172.16.45.179:50025 | NULL | Sleep | 22 | | NULL | 0 | 0 |
| 6922906 | root | localhost | NULL | Sleep | 2654 | | NULL | 0 | 0 |
| 6925239 | SUSR_Heartbeat | 127.0.0.1:38044 | NULL | Sleep | 0 | | NULL | 0 | 0 |
| 6925385 | SUSR_Heartbeat | 127.0.0.1:38302 | NULL | Sleep | 0 | | NULL | 403 | 403 |
| 6925532 | SUSR_Monitor | 172.16.6.27:12112 | mysql | Sleep | 164 | | NULL | 0 | 0 |
| 6925676 | SUSR_Monitor | 172.18.7.134:58842 | mysql | Sleep | 22 | | NULL | 0 | 0 |
| 6925697 | root | localhost | NULL | Query | 0 | init | show processlist | 0 | 0 |
| 6925701 | SUSR_Heartbeat | localhost | heartbeat | Sleep | 0 | | NULL | 1 | 1 |
+------
10 rows in set (0.00 sec)
Changed in percona-server: | |
status: | New → Invalid |
This happened again on two (2) different clusters in the past week.