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

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Sep 28, 2020

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.


This change is Reviewable

@github-actions github-actions bot added the area/schema Issues related to the schema language and capabilities. label Sep 28, 2020
Copy link
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

Copy link
Contributor

@pawanrawal pawanrawal 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ashish-goswami, @manishrjain, and @vvbalaji-dgraph)

@NamanJain8 NamanJain8 merged commit 1c7429d into master Sep 28, 2020
@NamanJain8 NamanJain8 deleted the naman/alter-schema branch September 28, 2020 16:48
OmarAyo pushed a commit that referenced this pull request Nov 18, 2020
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 added a commit that referenced this pull request Nov 19, 2020
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)

Co-authored-by: Naman Jain <naman@dgraph.io>
OmarAyo pushed a commit that referenced this pull request Nov 19, 2020
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 pushed a commit that referenced this pull request Dec 10, 2020
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)
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