While testing a XA transactions based workload, I noticed in the output of SHOW ENGINE INNODB STATUS;
---TRANSACTION 108674, ACTIVE (PREPARED) 35 sec
4 lock struct(s), heap size 1136, 5 row lock(s), undo log entries 2
So far, so good. A XA transaction has been PREPARED, and reported as such. But after a while (and I was not really looking at the session), I repeated the command and the output turned to:
---TRANSACTION 108674, ACTIVE (PREPARED) 91 sec recovered trx
4 lock struct(s), heap size 1136, 5 row lock(s), undo log entries 2
I went to check logs, because XA transactions are recovered after MySQL Server restart, and I made sure …
[Read more]