apache / apache/incubator-seata-samples

springboot druid配置多数据源的时候undo_log没有记录

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

按springboot sample ,配置了druid多数据源用注解动态切换,@GlobalTransactional不生效,undo_log中不会生成记录,日志中`DefaultGlobalTransaction` 会显示 `rollback status:Rollbacked`,但是不会roll back

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Spring Boot sample with Druid configured for multiple data sources and dynamic annotation-based switching. Inspect the undo_log contents and the DefaultGlobalTransaction rollback logs; done means @GlobalTransactional creates the expected undo_log record and the transaction rolls back correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.