apache / apache/incubator-seata-samples
我用的是springboot-dubbo-seata的例子, 出异常就是不回滚是怎么回事呢?
Open
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
XID都能获取到, 每次事务的XID也都是一样的, 但出异常就是不回滚, 数据库里的数据也都有变动
另外: 问一下sql文件夹里的 `undo_log` 表在哪里有使用, 里面啥数据都没有..
Contributor guide
Research direction
Start with the springboot-dubbo-seata example and inspect the SQL folder's undo_log table setup. Reproduce the reported exception while checking the transaction XID and database changes, then trace whether rollback and undo-log processing occur. Done means the failing scenario is explained and the example reliably rolls back its database changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100