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

Make has function correct w.r.t. transactions #2585

Merged
merged 6 commits into from
Sep 13, 2018
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Sep 13, 2018

Generate the full posting list based on the read timestamp, so we can determine if it is empty or not. If empty, then has should not pick up the UID. Similarly, use Btree to pick up posting lists from memory, also considering whether they have a valid posting keeping transactional properties intact.

This fixes #2574.


This change is Reviewable

@manishrjain manishrjain merged commit 6368904 into master Sep 13, 2018
@manishrjain manishrjain deleted the mrjn/has-deletes branch September 13, 2018 18:15
manishrjain added a commit that referenced this pull request Oct 26, 2018
Fix a bug caused by #2585, where I mistook reverse to mean reverse
iteration, when it actually meant reverse index. Fixed it to its
original meaning.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Generate the full posting list based on the read timestamp, so we can determine if it is empty or not. If empty, then has should not pick up the UID. Similarly, use Btree to pick up posting lists from memory, also considering whether they have a valid posting keeping transactional properties intact.

This fixes hypermodeinc#2574.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Fix a bug caused by hypermodeinc#2585, where I mistook reverse to mean reverse
iteration, when it actually meant reverse index. Fixed it to its
original meaning.
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.

has(predicate) captures nodes which had the predicate deleted
1 participant