[MDEV-31018] Replica of 10.3, 10.4, <10.5.19 and <10.6.12 to 10.11 will not work when using non-default charset Created: 2023-04-06 Updated: 2023-04-21 Resolved: 2023-04-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Replication |
| Affects Version/s: | 10.9.2, 10.3, 10.4, 10.5.19, 10.6.12, 10.10, 10.11 |
| Fix Version/s: | 10.10.1, 11.1.1, 10.11.3, 11.0.2, 10.9.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Tingyao Nian | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
10.9.2 introduced a new regression Invalid line in binlog:
Error:
This is later fixed with https://github.com/MariaDB/server/pull/2557 merged into 10.5, and is available in the upcoming minors 10.5.20, 10.6.12 etc. The fix prevents the previous releases from generating the invalid binlog that is not recognized by higher releases. Merging this to latest minors does not address the issue when replicating from older minors to 10.9.2+. That means, any replication from 10.3, 10.4, <10.5.19 and <10.6.12 to 10.9.2, 10.10 and 10.11 will still be broken if non-default character set is used. IMHO, we should also come up with another solution, that instead of fixing the binlog generation on previous majors, but to fix 10.9.2+, for backward compatibility. |
| Comments |
| Comment by Alexander Barkov [ 2023-04-10 ] |
|
Hello Elkin, Can you please review a patch: Thanks! |
| Comment by Tingyao Nian [ 2023-04-10 ] |
|
Thanks Alex for the fast response! I left the same comment in the CR:
|