I think it is a regression introduced when porting XtraBackup patches to 5.6. Patches against lower server versions contain the following changes in trx_lists_init_at_db_start():
--- a/storage/innobase/trx/trx0trx.c +++ b/storage/innobase/trx/trx0trx.c @@ -522,9 +522,8 @@ (ullint) trx->id);
if (srv_force_recovery == 0) { - - trx->conc_state = TRX_PREPARED; - trx_n_prepared++; + /* xtrabackup should rollback it */ + trx->conc_state = TRX_ACTIVE; } else { fprintf(stderr, "InnoDB: Since"
I.e. prepared XA transactions are converted to active and thus, rolled back.
However, I don't see those changes in https://bazaar.launchpad.net/~laurynas-biveinis/percona-xtrabackup/BT-28340-2.0/revision/506
I think it is a regression introduced when porting XtraBackup patches to 5.6. Patches against lower server versions contain the following changes in trx_lists_ init_at_ db_start( ):
--- a/storage/ innobase/ trx/trx0trx. c innobase/ trx/trx0trx. c
+++ b/storage/
@@ -522,9 +522,8 @@
(ullint) trx->id);
if (srv_force_recovery == 0) {
fprintf( stderr,
-
- trx->conc_state = TRX_PREPARED;
- trx_n_prepared++;
+ /* xtrabackup should rollback it */
+ trx->conc_state = TRX_ACTIVE;
} else {
"InnoDB: Since"
I.e. prepared XA transactions are converted to active and thus, rolled back.
However, I don't see those changes in https:/ /bazaar. launchpad. net/~laurynas- biveinis/ percona- xtrabackup/ BT-28340- 2.0/revision/ 506