-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
There was a problem hiding this 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: complete! all files reviewed, all discussions resolved (waiting on @ashish-goswami, @manishrjain, and @vvbalaji-dgraph)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @ashish-goswami, @manishrjain, and @vvbalaji-dgraph)
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)
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>
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)
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)
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 schemaupdate has failed, the predicate remains in the
mutSchema
. It should be deleted from the map.This change is