Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL)
-
None
-
10.1.10
Description
Apparently, 10.1 somehow wrongly counts the number of XA-capable engines. Here are some scenarios which make me think that:
- start server with only one XA-capable engine, e.g. XtraDB;
- see tc.log is created (already strange, it shouldn't do that, right?);
- sigkill server;
- start server with two XA-capable engines, e.g. XtraDB and TokuDB;
- see the error message in the log:
[ERROR] Recovery failed! You must enable exactly 2 storage engines that support two-phase commit protocol
It should be 1, not 2, right?
or
- start server with two XA-capable engines, e.g. XtraDB and TokuDB;
- see tc.log is created;
- sigkill server;
- start server without TokuDB;
- see the error message in the log:
[ERROR] Recovery failed! You must enable exactly 3 storage engines that support two-phase commit protocol
It should be 2, not 3, right?
Attachments
Issue Links
- blocks
-
MDEV-9193 Upgrade from 10.0.22 to 10.1.9 fails
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Sprint | 10.1.10 [ 24 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.1.10 [ 20402 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 72811 ] | MariaDB v4 [ 149878 ] |
I've set it up on perro.
Log in as usual.
cd ~/mdev9214/10.1/mysql-test
perl ./mtr mdev9214
The test runs with XtraDB and TokuDB at first, then restarts the server without TokuDB and fails with
2015-11-30 23:08:49 140046048638848 [ERROR] Recovery failed! You must enable exactly 3 storage engines that support two-phase commit protocol
2015-11-30 23:08:49 140046048638848 [ERROR] Crash recovery failed. Either correct the problem (if it's, for example, out of memory error) and restart, or delete tc log and start mysqld with --tc-heuristic-recover={commit|rollback}
2015-11-30 23:08:49 140046048638848 [ERROR] Can't init tc log
2015-11-30 23:08:49 140046048638848 [ERROR] Aborting