Bug #102260 | init_file fails on an instance configured w/ SET PERSIST super_read_only = on | ||
---|---|---|---|
Submitted: | 15 Jan 2021 16:47 | Modified: | 15 Jan 2021 19:30 |
Reporter: | Andrew Garner | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S3 (Non-critical) |
Version: | 8.0.22 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[15 Jan 2021 16:47]
Andrew Garner
[15 Jan 2021 17:55]
MySQL Verification Team
Hi Mr. Garner, Thank you for your bug report. However, this is not a bug. This is a behaviour that is well described in our 8.0 Reference Manual, in many chapters, starting with 5.1.8. If you would like to have a different behaviour, you can ask that this report is changed to be a feature request. However, that feature request has to be well designed and in detailed. The change of behaviour should not break existing applications, in which case it would be considered. Not a bug.
[15 Jan 2021 19:30]
Andrew Garner
Fair enough. It seems fair that "super-read-only" rejects all writes. The surprising behavior is that my.cnf:super_read_only and --super-read-only DO NOT affect reject writes during "--init-file" execution, but "SET PERSIST" does. That does not seem to be documented. Maybe other ways super-read-only were implemented made this behavior accidentally work.