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

Convert an assert during DropAll to inf retry. #2578

Merged
merged 5 commits into from
Sep 11, 2018
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Sep 10, 2018

When DropAll is called, the writes which happen immediately afterward can be rejected. This triggers sometimes. So, instead of assert failing, we should retry.

This change is Reviewable

@manishrjain manishrjain changed the title [WIP] Convert an assert during DropAll to inf retry. Convert an assert during DropAll to inf retry. Sep 11, 2018
@manishrjain manishrjain merged commit 788354f into master Sep 11, 2018
@manishrjain manishrjain deleted the mrjn/dropall-check branch September 11, 2018 02:19
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
When DropAll is called, the writes which happen immediately afterward can be rejected. This triggers sometimes. So, instead of assert failing, we should retry.
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