[MDEV-6660] missing grastate.dat + broken innodb prevents node startup Created: 2014-08-29 Updated: 2022-02-11 Resolved: 2021-12-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 5.5.39-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | galera | ||
| Description |
|
In a crash when grastate.dat is not written and the InnoDB tablespace is damaged in some way, starting the server using mysqld_safe will fail. mysqld_safe starts the server with the --wsrep-recover option. In that case, when grastate.dat is missing, InnoDB is initialized. If InnoDB can't start, the only resolution is to manually empty the datadir to force an SST. example:
|
| Comments |
| Comment by Michaël de groot [ 2020-11-25 ] |
|
I experience this same issue when starting an instance with a restored backup that was created on MariaDB 10.1.22 using mariabackup 10.1.35. |
| Comment by Michaël de groot [ 2021-03-24 ] |
|
I experience this same issue when starting an instance that was backed up using mariadb-backup 10.3.27 on a 10.3.27 node and restored using mariadb-backup 10.3.28 on a mariadb 10.3.28 node. This issue is NOT galera related. |
| Comment by Michaël de groot [ 2021-08-20 ] |
|
I experience the same issue when restoring a backup that was created on 10.3.28 and restored on 10.3.30. Next to that, when restoring a backup that was created on 10.3.28 and restored on 10.3.31. It seams to me that this issue always occurs. Perhaps it is worth to mention that:
The backup switches I use are: The restore switches I use are: |
| Comment by Michaël de groot [ 2022-01-23 ] |
|
Why is this issue closed "won't fix" without a comment? The issue is still relevant, I experience it with >75% of the instances that I initiate from a backup created with those switches. Removing --no-lock (assuming that this causes it) is not the solution, as it would cause an outage on the source node. |
| Comment by Michaël de groot [ 2022-02-11 ] |
|
I still experience this on the newest 10.3. |