Bug #94769 Do not check read_only for updates to dictionary charset and collations table

Submitted: 25 Mar 2019 13:21 Modified: 7 May 2019 18:13
Reporter: Ståle Deraas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DDL Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[25 Mar 2019 13:21] Ståle Deraas
Description:
If you have a the read_only option set on a replication slave, an upgarde will emit the following warning:

[Warning] [MY-010005] [Server] Skip re-populating collations and character sets tables in read-only mode.

Looking https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_read_only this should be allowed. We should also evaluate if these tables should be updated, even if 'super_read_only' is specified.

How to repeat:

Set 'read_only' sysvar to 'ON' and upgrade the server.
[7 May 2019 18:13] Paul DuBois
Posted by developer:
 
Fixed in 8.0.17.

If the read_only system variable was enabled, its value improperly
was applied against updates to the character set and collation data
dictionary tables.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 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.