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

fix ErrIndexingInProgress if schema update fails (#6583) #6912

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

OmarAyo
Copy link
Contributor

@OmarAyo OmarAyo commented Nov 18, 2020

If index building fails for some reason after starting building indexes, no new schema mutations
can take place. It throws out errIndexingInProgress error. This is because though the schema
update has failed, the predicate remains in the mutSchema. It should be deleted from the map.

(cherry picked from commit 1c7429d)


This change is Reviewable

Docs Preview: Dgraph Preview

Fixes DGRAPH-2370

If index building fails for some reason after starting building indexes, no new schema mutations
can take place. It throws out errIndexingInProgress error. This is because though the schema
update has failed, the predicate remains in the mutSchema. It should be deleted from the map.

(cherry picked from commit 1c7429d)
@OmarAyo OmarAyo added the area/schema Issues related to the schema language and capabilities. label Nov 18, 2020
Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai, @manishrjain, @NamanJain8, and @vvbalaji-dgraph)

Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain, @NamanJain8, and @vvbalaji-dgraph)

@OmarAyo OmarAyo merged commit 7b96f69 into release/v20.07 Nov 19, 2020
@OmarAyo OmarAyo deleted the omar/v20.07-errIndexingInProgress-fix branch November 19, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Issues related to the schema language and capabilities.
Development

Successfully merging this pull request may close these issues.

3 participants