Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
And it does so "normally":
CREATE TABLE `ti` ( `a` int(11) DEFAULT NULL) ENGINE=InnoDB; |
xa start '1'; |
insert into ti set a=1; |
xa end '1'; |
xa prepare '1'; |
--error XAER_RMFAIL
|
xa commit '1' one phase; |
The error is there:
ERROR 1399 (XAE07): XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state
|
However the error is not set in the case of "foreign" xa commit, that is
when an xa transaction got prepared and later recovered (e.g after the server crash).
Attachments
Issue Links
- is blocked by
-
MDEV-742 LP:803649 - Xa recovery failed on client disconnection
- Closed