dirty pages does not decrease on idle server and can't slow shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to shut down a 5.6 slave to upgrade it to 5.7.
After changing innodb_
After setting innodb_
2016-06-08 03:20:56 6137 [Note] InnoDB: Starting shutdown...
2016-06-08 03:20:56 7f9db4b18700 InnoDB: Dumping buffer pool(s) to /opt/mysql/
2016-06-08 03:20:56 7f9db4b18700 InnoDB: Buffer pool(s) dump completed at 160608 3:20:56
2016-06-08 03:20:57 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 51350
2016-06-08 03:21:56 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:21:58 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 41896
2016-06-08 03:22:56 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:22:59 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 46156
2016-06-08 03:23:56 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:24:00 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 33187
2016-06-08 03:24:57 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:25:01 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 22321
2016-06-08 03:25:57 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:26:02 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 22541
2016-06-08 03:26:57 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:27:03 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 24360
2016-06-08 03:27:57 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:28:04 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 24858
2016-06-08 03:28:57 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:29:05 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 23102
2016-06-08 03:29:58 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:30:06 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 22312
2016-06-08 03:30:58 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:31:07 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 22867
2016-06-08 03:31:58 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:32:08 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 28211
2016-06-08 03:32:58 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:33:09 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 25992
2016-06-08 03:33:58 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:34:10 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 24077
2016-06-08 03:34:59 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:35:11 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 20681
2016-06-08 03:35:59 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:36:12 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 26435
2016-06-08 03:36:59 6137 [Note] InnoDB: Waiting for master thread to be suspended
2016-06-08 03:37:13 7f9da0236700 InnoDB: Waiting for change buffer merge to complete
InnoDB: number of bytes of change buffer just merged: 27686
# mysql -e "SET sql_log_bin = 0; SET GLOBAL sync_binlog=0; SET GLOBAL innodb_ flush_log_ at_trx_ commit= 2 ; SET GLOBAL innodb_ max_dirty_ pages_pct= 0 ; STOP SLAVE SQL_THREAD"
# mysqladmin ext -i10 | grep dirty buffer_ pool_pages_ dirty | 16851 | buffer_ pool_bytes_ dirty | 139386880 | buffer_ pool_pages_ dirty | 16851 | buffer_ pool_bytes_ dirty | 139386880 | buffer_ pool_pages_ dirty | 16851 | buffer_ pool_bytes_ dirty | 139386880 | buffer_ pool_pages_ dirty | 16851 | buffer_ pool_bytes_ dirty | 139386880
| Innodb_
| Innodb_
| Innodb_
| Innodb_
| Innodb_
| Innodb_
| Innodb_
| Innodb_
# mysql -e "SET sql_log_bin = 0; SET GLOBAL innodb_ fast_shutdown = 0"
# service mysql stop