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

Cherry-pick "Throw errors returned by retrieveValuesAndFacets" #4968

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Mar 18, 2020

The error was being ignored and an empty response was being written because the
condition in a case statement didn't exclude errors not equal to nil or ErrNoValue.

This caused reads below the rollup Ts to succeed with an empty response when
they should throw an error. The bug was triggered by running Jepsen tests with
incremental rollups enabled.

Fixes #4958


This change is Reviewable

Docs Preview: Dgraph Preview

The error was being ignored and an empty response was being written because the
condition in a case statement didn't exclude errors not equal to nil or ErrNoValue.

This caused reads below the rollup Ts to succeed with an empty response when
they should throw an error. The bug was triggered by running Jepsen tests with
incremental rollups enabled.

Fixes #4958
@martinmr martinmr requested review from manishrjain and a team as code owners March 18, 2020 20:52
@martinmr martinmr merged commit d8590df into release/v1.2 Mar 18, 2020
@martinmr martinmr deleted the martinmr/task-error branch March 18, 2020 20:53
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