[MDEV-31579] Mariadb fails to start following automatic upgrade to 11.0.2 - Unable to find charset-collation for 271 Created: 2023-06-29 Updated: 2023-10-30 Resolved: 2023-10-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 11.0.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Peter Rush | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 1 |
| Labels: | None | ||
| Environment: |
MacOS Monterey 12.6.3, Homebrew 4.0.26 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Following automated homebrew upgrade to 11.0.2, Mariadb will not start, and fails with the following error: 2023-06-29 12:03:48 0 [ERROR] [FATAL] InnoDB: Unable to find charset-collation for 271 Full log:
|
| Comments |
| Comment by Artem Russakovskii [ 2023-08-02 ] | |
|
Same update to 11.0.2, same startup crash, same collation number. Please advise.
| |
| Comment by Oleg [ 2023-08-02 ] | |
|
Exactly the same problem upgrading from 10.11.4:
| |
| Comment by Rick James [ 2023-08-02 ] | |
|
In MySQL 8.0, 271 is utf8mb4_la_0900_ai_ci. Had you been using 8.0 at some point in the past? | |
| Comment by Artem Russakovskii [ 2023-08-02 ] | |
|
I've run our servers for 13 years, so I'm guessing the answer is yes. Does https://jira.mariadb.org/browse/MDEV-31443 resolve this issue too? Is there anything we can do to prevent this upgrade error? I was able to downgrade back to 10 for now, and it's in my power to run whatever commands that would be needed to flush the problematic data out if it's possible. | |
| Comment by Marko Mäkelä [ 2023-08-03 ] | |
|
This report seems to duplicate | |
| Comment by Marko Mäkelä [ 2023-08-03 ] | |
|
A user in
| |
| Comment by Oleg [ 2023-08-03 ] | |
|
Marko, any thoughts on charset-collation for 254? It's a different collation ID, however, the same error. Reproducible on CentOS. | |
| Comment by Marko Mäkelä [ 2023-08-03 ] | |
|
thedotedge, the message could display different charset-collation numbers. | |
| Comment by Oleg [ 2023-08-03 ] | |
|
Does it mean that 11.0.3 would have a fix? Workaround with innodb_fast_shutdown didn’t help unfortunately. Otherwise, is there any way to check which column has the collation in question to alter it manually? | |
| Comment by Artem Russakovskii [ 2023-08-14 ] | |
|
11.0.3 is out https://mariadb.com/kb/en/mariadb-11-0-3-release-notes/. | |
| Comment by Artem Russakovskii [ 2023-08-30 ] | |
|
I can confirm upgrading to 11.0.3 fixed the issue for me. | |
| Comment by Artem Russakovskii [ 2023-08-30 ] | |
|
Aaand a few minutes in, the server started crashing. Not sure if related to this bug or not, but here: | |
| Comment by Marko Mäkelä [ 2023-09-01 ] | |
|
archon810, | |
| Comment by Marko Mäkelä [ 2023-09-01 ] | |
|
thedotedge, did an upgrade to 11.0.3 fix this issue for you? | |
| Comment by Marko Mäkelä [ 2023-09-08 ] | |
|
I confirmed |