Skip to content

Convert an assert during DropAll to inf retry.#2578

Merged
manishrjain merged 5 commits intomasterfrom
mrjn/dropall-check
Sep 11, 2018
Merged

Convert an assert during DropAll to inf retry.#2578
manishrjain merged 5 commits intomasterfrom
mrjn/dropall-check

Conversation

@manishrjain
Copy link
Copy Markdown
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