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

Decrease the number of aborts by using SPO for entity to entity connections. #2556

Merged
merged 11 commits into from
Aug 29, 2018

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Aug 29, 2018

This change is Reviewable

@manishrjain manishrjain merged commit 05aebb4 into master Aug 29, 2018
@manishrjain manishrjain deleted the mrjn/aborts branch August 29, 2018 23:50
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
…ctions. (dgraph-io#2556)

This change would make the conflict detection lot more precise. For SPO connections, where O = UID, it would use all 3 for conflict detection. For SPV, where V = value, it would use SP for conflict detection.

This significantly reduces the number of aborts that happen in the system and allows a lot more concurrency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant