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(GraphQL): Update GraphQL schema only on Group-1 leader (#5739) #5829

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

abhimanyusinghgaur
Copy link
Contributor

@abhimanyusinghgaur abhimanyusinghgaur commented Jul 6, 2020

Fixes #GRAPHQL-364.

This PR changes the way how GraphQL schema is updated. From now on, every request to update the GraphQL schema will be executed on Group-1 leader, instead of on the alpha which received the request. This helps solve some concurrency issues during GraphQL schema update.

(cherry picked from commit f4cd0b3)

# Conflicts:
# graphql/admin/schema.go


This change is Reviewable

Docs Preview: Dgraph Preview

This PR changes the way how GraphQL schema is updated. From now on, every request to update the GraphQL schema will be executed on Group-1 leader, instead of on the alpha which received the request. This helps solve some concurrency issues during GraphQL schema update.

(cherry picked from commit f4cd0b3)

# Conflicts:
#	graphql/admin/schema.go
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jul 6, 2020
@abhimanyusinghgaur abhimanyusinghgaur merged commit f9ab6ea into release/v20.07 Jul 6, 2020
@abhimanyusinghgaur abhimanyusinghgaur deleted the abhimanyu/cherry-pick1 branch July 6, 2020 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

1 participant