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): Fix segmentation fault when calling the /admin/backup endpoint. #6042

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Jul 20, 2020

PR #5802 introduced a bug that caused the adminServer global variable to
never be set, which in turned caused a segmentation fault when the
/admin/backup endpoint was called. This PR fixes the bug and changes the
minio-large test to use the /admin/backup endpoint to act as a
regression test.

Fixes DGRAPH-1938.


This change is Reviewable

…ndpoint.

PR #5802 introduced a bug that caused the adminServer global variable to
never be set, which in turned caused a segmentation fault when the
/admin/backup endpoint was called. This PR fixes the bug and changes the
minio-large test to use the /admin/backup endpoint to act as a
regression test.

Fixes DGRAPH-1938.
Copy link
Contributor

@parasssh parasssh 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 3 files reviewed, all discussions resolved (waiting on @manishrjain and @vvbalaji-dgraph)

@martinmr martinmr merged commit 6d01404 into master Jul 20, 2020
@martinmr martinmr deleted the martinmr/fix-admin-server branch July 20, 2020 20:41
martinmr added a commit that referenced this pull request Jul 20, 2020
…ndpoint. (#6042)

PR #5802 introduced a bug that caused the adminServer global variable to
never be set, which in turned caused a segmentation fault when the
/admin/backup endpoint was called. This PR fixes the bug and changes the
minio-large test to use the /admin/backup endpoint to act as a
regression test.

Fixes DGRAPH-1938.

(cherry picked from commit 6d01404)
parasssh pushed a commit that referenced this pull request Jul 20, 2020
…ndpoint. (#6042) (#6043)

PR #5802 introduced a bug that caused the adminServer global variable to
never be set, which in turned caused a segmentation fault when the
/admin/backup endpoint was called. This PR fixes the bug and changes the
minio-large test to use the /admin/backup endpoint to act as a
regression test.

Fixes DGRAPH-1938.

(cherry picked from commit 6d01404)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants