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(Dgraph): skip backing up nil lists. #6314

Merged
merged 1 commit into from
Aug 31, 2020
Merged

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Aug 28, 2020

Version 1.2 returns a nil list from ReadPostingList. The backup was
trying to call the method SingleListRollup. The fix is to ignore those
lists. They will be backed up when the main key is accessed.


This change is Reviewable

Docs Preview: Dgraph Preview

Version 1.2 returns a nil list from ReadPostingList. The backup was
trying to call the method SingleListRollup. The fix is to ignore those
lists. They will be backed up when the main key is accessed.
@martinmr martinmr requested review from manishrjain and a team as code owners August 28, 2020 19:01
@martinmr
Copy link
Contributor Author

Tests pass locally.

@parasssh parasssh merged commit a7ea3e1 into release/v1.2 Aug 31, 2020
@martinmr martinmr deleted the martinmr/nil-backup branch August 31, 2020 23:36
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