Bug #81852 Provide option to not allow client access during InnoDB recovery
| Submitted: | 15 Jun 2016 5:56 | Modified: | 15 Jun 2016 8:25 |
|---|---|---|---|
| Reporter: | Simon Mudd | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 5.6.27 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[15 Jun 2016 5:56]
Simon Mudd
[15 Jun 2016 6:09]
Simon Mudd
Note: I deliberately did not make this an InnoDB option as other storage engines would be affected too.
[15 Jun 2016 7:37]
Daniël van Eeden
This is basically what offline_mode does. https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_offline_mode But offline_mode on a master would probably cause the I/O Threads on slaves to fail?
[15 Jun 2016 7:39]
Daniël van Eeden
And for option c there is 'SET GLOBAL read_only=1'
[15 Jun 2016 8:25]
Simon Mudd
Yes, the options are there, but they're not automatic during recovery. So to rephrase: While mysqld is recovering (on startup) optionally put the server into: (i) offline mode, or (ii) read_only mode during this process.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.