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

Allow backup ID to be passed to restore endpoint. #5208

Merged
merged 3 commits into from
Apr 15, 2020
Merged

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Apr 14, 2020

The backup ID can now be passed to select a specific series of backups.


This change is Reviewable

Docs Preview: Dgraph Preview

@martinmr martinmr requested review from manishrjain and a team as code owners April 14, 2020 23:42
Copy link
Contributor

@manishrjain manishrjain 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, 1 unresolved discussion (waiting on @manishrjain and @martinmr)


systest/online-restore/online_restore_test.go, line 141 at r1 (raw file):

func TestInvalidBackupId(t *testing.T) {
	restoreRequest := `mutation restore() {
		 restore(input: {location: "/data/alpha1/backup", backupId: "bad-backup-id"}) {

Add another test for good backup id.

Copy link
Contributor Author

@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.

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @manishrjain)


systest/online-restore/online_restore_test.go, line 141 at r1 (raw file):

Previously, manishrjain (Manish R Jain) wrote…

Add another test for good backup id.

Done.

@martinmr martinmr merged commit 12ff363 into master Apr 15, 2020
@martinmr martinmr deleted the martinmr/restore-id branch April 15, 2020 20:59
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
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