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(restore): reset acl accounts once restore is done if necessary #7202

Merged
merged 3 commits into from
Jan 5, 2021

Conversation

aman-bansal
Copy link
Contributor

@aman-bansal aman-bansal commented Dec 24, 2020

This PR reset the ACL accounts once the restore is complete. When we start the restore, it apply DROP_ALL mutation and thus deleting ACL accounts. It's a common across all the alter operation, where we reset ACL accounts once we have the DROP_ALL operation.


This change is Reviewable

@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Dec 24, 2020
worker/online_restore_ee.go Outdated Show resolved Hide resolved
graphql/admin/restore.go Outdated Show resolved Hide resolved
graphql/admin/restore.go Outdated Show resolved Hide resolved
@aman-bansal aman-bansal merged commit 5a1d0b4 into master Jan 5, 2021
@aman-bansal aman-bansal deleted the aman/restore_acl_fix branch January 5, 2021 13:27
aman-bansal added a commit that referenced this pull request Jan 12, 2021
…7202)

* reset acl accounts once restore is done if necessary

* handling restores with wait group

* making wg to work with each proposal
aman-bansal added a commit that referenced this pull request Jan 12, 2021
…7202) (#7280)

* reset acl accounts once restore is done if necessary

* handling restores with wait group

* making wg to work with each proposal
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.

None yet

2 participants