apache / incubator-seata-samples

Apache Seata(incubating) Samples for Java
https://seata.apache.org/
Apache License 2.0
2.26k stars 1.9k forks source link

springcloud-jpa-seata rollback didn't work #126

Open githubkevinyou opened 5 years ago

githubkevinyou commented 5 years ago

springcloud-jpa-seata 1.0.0-SNAPSHOT seata-server 0.5.2 mysql 5.7.24

1 http://127.0.0.1:8084/purchase/rollback 库存表storage_tbl依然会减1,其他表能正常回滚 2 http://127.0.0.1:8084/purchase/commit 断点到AccountService 服务 accountDAO.save(account); 后面休眠一段时间 try { Thread.sleep(100000); } catch (InterruptedException e) { e.printStackTrace(); };这时order_tbl正常回滚,storage_tbl和account_tbl依然会减。

undo_log 调试过程一直没有日志记录,分布式事务没有失效

liuqunqi commented 5 years ago

the same issue

CodeShowZz commented 5 years ago

第一点我也遇到了