Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo工程下单业务中,保存订单信息和记录事务日志信息不在同一个库,数据一致性是如何考虑的 #105

Open
zhaoshengwolf opened this issue Aug 19, 2022 · 0 comments

Comments

@zhaoshengwolf
Copy link

demo工程下单业务中,保存订单信息和记录事务日志信息不在同一个库
application.yml配置的是业务数据库的连接信息
applicationContext.xml中配置的是事务日志连接信息

这是在同一个服务中分别操作了两个数据库的数据,这本质上也是一个分布式事务,这块是否需要保证数据的一致性?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant