mysql abort when enable super_read_only with read_only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Laurynas Biveinis | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
High
|
Laurynas Biveinis | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
High
|
Unassigned |
Bug Description
Slave
Server version: 5.6.25-73.1-log Percona Server (GPL), Release 73.1, Revision 07b797f
Variable: read_only = 1
I enable super_read_only ,then restart mysql server,it looks like no problem.
[root@mysql2 ~]# /etc/init.d/mysqld restart
Shutting down MySQL (Percona Server)... SUCCESS!
Starting MySQL (Percona Server)... SUCCESS!
But mysql abort.
error log:
150812 11:55:02 mysqld_safe Starting mysqld daemon with databases from /data/mysql/
2015-08-12 11:55:03 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
2015-08-12 11:55:03 0 [Warning] 'ERROR_
2015-08-12 11:55:03 0 [Warning] 'NO_ZERO_DATE' is deprecated and will be removed in a future release.
2015-08-12 11:55:03 0 [Warning] 'NO_ZERO_IN_DATE' is deprecated and will be removed in a future release.
2015-08-12 11:55:03 0 [Note] /usr/local/
2015-08-12 11:55:03 60494 [Warning] Using unique option prefix myisam-recover instead of myisam-
2015-08-12 11:55:03 60494 [Warning] The option innodb (skip-innodb) is deprecated and will be removed in a future release
2015-08-12 11:55:03 60494 [Note] Plugin 'FEDERATED' is disabled.
2015-08-12 11:55:03 60494 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-12 11:55:03 60494 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-12 11:55:03 60494 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-12 11:55:03 60494 [Note] InnoDB: Memory barrier is not used
2015-08-12 11:55:03 60494 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-12 11:55:03 60494 [Note] InnoDB: Using Linux native AIO
2015-08-12 11:55:03 60494 [Note] InnoDB: Using CPU crc32 instructions
2015-08-12 11:55:03 60494 [Note] InnoDB: Initializing buffer pool, size = 592.0M
2015-08-12 11:55:03 60494 [Note] InnoDB: Completed initialization of buffer pool
2015-08-12 11:55:03 60494 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-12 11:55:04 60494 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-12 11:55:04 60494 [Note] InnoDB: Waiting for purge to start
2015-08-12 11:55:04 60494 [Note] InnoDB: Percona XtraDB (http://
2015-08-12 11:55:04 60494 [Note] RSA private key file not found: /data/mysql/
2015-08-12 11:55:04 60494 [Note] RSA public key file not found: /data/mysql/
2015-08-12 11:55:04 60494 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-12 11:55:04 60494 [Note] IPv6 is available.
2015-08-12 11:55:04 60494 [Note] - '::' resolves to '::';
2015-08-12 11:55:04 60494 [Note] Server socket created on IP: '::'.
2015-08-12 11:55:04 60494 [Warning] 'proxies_priv' entry '@ root@mysql1' ignored in --skip-name-resolve mode.
2015-08-12 11:55:04 60494 [ERROR] Event Scheduler: Failed to open table mysql.event
2015-08-12 11:55:04 60494 [ERROR] Event Scheduler: Error while loading from disk.
2015-08-12 11:55:04 60494 [Note] Event Scheduler: Purging the queue. 0 events
2015-08-12 11:55:04 60494 [ERROR] Aborting
2015-08-12 11:55:04 60494 [Note] Binlog end
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'partition'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'ARCHIVE'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'BLACKHOLE'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'PERFORMANCE_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_METRICS'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_CMP'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'INNODB_TRX'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'XTRADB_RSEG'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'XTRADB_
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'XTRADB_READ_VIEW'
2015-08-12 11:55:04 60494 [Note] Shutting down plugin 'InnoDB'
2015-08-12 11:55:04 60494 [Note] InnoDB: FTS optimize thread exiting.
2015-08-12 11:55:04 60494 [Note] InnoDB: Starting shutdown...
2015-08-12 11:55:06 60494 [Note] InnoDB: Shutdown completed; log sequence number 168714520
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'CSV'
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'MyISAM'
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'MRG_MYISAM'
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'MEMORY'
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'sha256_password'
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'mysql_
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'mysql_
2015-08-12 11:55:06 60494 [Note] Shutting down plugin 'binlog'
2015-08-12 11:55:06 60494 [Note] /usr/local/
Error in my_thread_
150812 11:55:11 mysqld_safe mysqld from pid file /var/lib/
Changed in percona-server: | |
status: | Incomplete → New |
Changed in percona-xtradb-cluster: | |
status: | New → Fix Released |
importance: | Undecided → High |
Seeing this here as well on percona server 5.6.25-73.1-log, when started with super_read_only = ON it bails with "Event Scheduler: Failed to open table mysql.event". Disabling it fixed the issue.
Pretty nasty one, it actually submarined a full restart of 4 nodes I was doing to enable gtid, none of them came back up except the master!