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

关于事务 #3

Open
bourne1987 opened this issue Sep 20, 2017 · 1 comment
Open

关于事务 #3

bourne1987 opened this issue Sep 20, 2017 · 1 comment

Comments

@bourne1987
Copy link

服务层分片处理的时候,如果我的业务上需要用到2个区的不同数据库,但是又必须保证是原子的,怎么处理呢

@skyesx
Copy link
Contributor

skyesx commented Sep 20, 2017

调整业务,在SERVICE层使用最终一致性解决(跟处理跨服务的事务一样),参考https://github.com/QNJR-GROUP/EasyTransaction

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

2 participants