mysql xa
xa recover;
xa rollback '1-7f000001:bae5:4b6928eb:fb5c3','7f000001:bae5:4b6928eb:fb5cd',131075;
#查询事物执行时间超过60S的 长事物
select * from information_schema.innodb_trx where TIME_TO_SEC(timediff(now(),trx_started))>60
xa recover;
xa rollback '1-7f000001:bae5:4b6928eb:fb5c3','7f000001:bae5:4b6928eb:fb5cd',131075;
#查询事物执行时间超过60S的 长事物
select * from information_schema.innodb_trx where TIME_TO_SEC(timediff(now(),trx_started))>60