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

Online restores only processes backups for the alpha's group #5588

Merged
merged 4 commits into from
Jun 9, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Jun 6, 2020

I changed the test backup to have three groups instead of one and I noticed that
the test didn't work anymore. There was a missing check that caused every
group's backup to be restored to the alpha. After introducing the check, all
tests pass again.

Fixes DGRAPH-1663


This change is Reviewable

Docs Preview: Dgraph Preview

@martinmr martinmr marked this pull request as draft June 6, 2020 00:00
@martinmr martinmr changed the title New backup files with multiple groups. Online restores only processes backups for the alpha's group. Jun 8, 2020
@martinmr martinmr changed the title Online restores only processes backups for the alpha's group. Online restores only processes backups for the alpha's group Jun 8, 2020
@martinmr martinmr marked this pull request as ready for review June 8, 2020 19:41
@martinmr martinmr requested a review from a team June 8, 2020 19:41
Copy link

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

a discussion (no related file):
Thanks for the test. Could you also test it when we have more than one replica per group?

Changes lgtm:


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 15 files reviewed, 1 unresolved discussion (waiting on @manishrjain and @vvbalaji-dgraph)

a discussion (no related file):

Previously, vvbalaji-dgraph (V V Balaji) wrote…

Thanks for the test. Could you also test it when we have more than one replica per group?

Changes lgtm:

Not a blocker for now so I'll address this later. Added a JIRA issue to track this.


@martinmr martinmr merged commit 20af6b0 into master Jun 9, 2020
@martinmr martinmr deleted the martinmr/restore-test branch June 9, 2020 21:19
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
…io#5588)

I changed the test backup to have three groups instead of one and I noticed that
the test didn't work anymore. There was a missing check that caused every
group's backup to be restored to the alpha. After introducing the check, all
tests pass again.

Fixes DGRAPH-1663
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.

None yet

2 participants