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

Proper two-phase transactions. #10

Open
gaperton opened this issue Mar 28, 2017 · 0 comments
Open

Proper two-phase transactions. #10

gaperton opened this issue Mar 28, 2017 · 0 comments

Comments

@gaperton
Copy link

gaperton commented Mar 28, 2017

Looks like we finally need them for the scenario where three collections form the tree of models across them by model id. Trick is that we need to mark parents as 'changed', which triggers extra updates causing expensive renders.

So, the node starting the transaction must put all owners in transaction mode. And we need to close owner's transactions properly. And it must be done in the way that performance won't be hurt.

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

No branches or pull requests

1 participant