[MDEV-29533] Crash when MariaDB is replica of MySQL 8.0 Created: 2022-09-14 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | MG | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
Configure MySQL to use non-default settings:
Configure MariaDB with skip-slave-start Connect to MySQL:
|
| Comments |
| Comment by Angelique Sklavounos (Inactive) [ 2022-09-14 ] | ||||||
|
Thank you for the report, mg. I can reproduce this. For now I will gather more information about the behavior. | ||||||
| Comment by Angelique Sklavounos (Inactive) [ 2022-09-15 ] | ||||||
|
I've attached a core dump for the crash. I did a standard install of MySQL 8.0.30, then started the client as root and ran the following:
I found that the non-default settings in the MySQL my.cnf in the description were not necessary to recreate the crash. In MariaDB 10.7.5, only the following is needed for the crash:
I still need to test against other versions of MariaDB. | ||||||
| Comment by MG [ 2022-09-15 ] | ||||||
|
Thanks for looking at this, @angelique.sklavounos In my earlier testing of 10.4 and 10.6, I would not get a crash before the MySQL my.cnf changes:
| ||||||
| Comment by Angelique Sklavounos (Inactive) [ 2022-09-27 ] | ||||||
mg which version of 10.4 and 10.6 did you use? I tested with 10.6.9 and still get a crash. | ||||||
| Comment by MG [ 2022-09-27 ] | ||||||
|
Hello, My apologies, the original error ERROR 1273 (HY000) at line 18259: Unknown collation was on an ancient 10.4.6 With 10.4.26 I get the crash with MySQL 8 defaults as long as any % grant exists:
| ||||||
| Comment by MG [ 2022-09-27 ] | ||||||
|
Hello, Actually I can't reproduce Unknown collation on my own 10.4.6 but (I see the same crash as my last comment) but on a MySQL 8 instance (Ali) that I don't have access to that is the error I get. Sorry, I can't provide more at this time. | ||||||
| Comment by Angelique Sklavounos (Inactive) [ 2022-09-27 ] | ||||||
|
Great, thanks for the clarification, mg. |