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

在multiple datasource的情况下,transaction怎么处理? #10

Closed
ziscloud opened this issue May 19, 2016 · 1 comment
Closed

在multiple datasource的情况下,transaction怎么处理? #10

ziscloud opened this issue May 19, 2016 · 1 comment
Labels

Comments

@ziscloud
Copy link

在multiple datasource的情况下,transaction怎么处理?

@liangyanghe
Copy link
Member

hi,在多数据源的情况下,Mango并不支持分布式事务,因为分布式事务实在是过于复杂同时互联网使用分布式事务的场景太少。Mango的事务只能对应的单独的数据源。如果对A数据源开启了事务,在此事务中执行了B数据源的操作,此时B数据源的操作并不会在事务之中。

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

No branches or pull requests

2 participants