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

(release/v20.03) fix(Dgraph): fix bug when deleting and adding to a s… #6450

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Sep 14, 2020

…ingle UID predicate in the same transaction.

The iterate method does not account for delete postings in the same transaction
so they have to be preserved manually. Otherwise, if a deletion and an add operation
to the same uid happen in the same predicate, the deletion operation is not
applied.

Fixes DGRAPH-1309

(cherry picked from commit 56c8f3c)


This change is Reviewable

Docs Preview: Dgraph Preview

…ingle UID predicate in the same transaction.

The iterate method does not account for delete postings in the same transaction
so they have to be preserved manually. Otherwise, if a deletion and an add operation
to the same uid happen in the same predicate, the deletion operation is not
applied.

Fixes DGRAPH-1309

(cherry picked from commit 56c8f3c)
@martinmr martinmr requested review from manishrjain and a team as code owners September 14, 2020 20:32
@parasssh parasssh merged commit d977446 into release/v20.03 Sep 18, 2020
@parasssh parasssh deleted the martinmr/cp-uid03 branch September 18, 2020 17:23
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.

2 participants