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

Cherry-pick fix(dgraph): Panic because of nil map in groups.go (#5999) #6008

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

parasssh
Copy link
Contributor

@parasssh parasssh commented Jul 15, 2020

Fixes DGRAPH-1935
(cherry picked from commit 3c46878)


This change is Reviewable

Docs Preview: Dgraph Preview

* Initialize delta.GroupChecksums if nil

delta.GroupChecksums is nil at this point in the code, so copying keys to this map causes the code to panic

* Address review comments

Remove if nil check

* fix CI; move map make to for loop since delta is assigned a struct from the deltaCh

(cherry picked from commit 3c46878)
@parasssh
Copy link
Contributor Author

All tests pass locally.

Copy link
Contributor

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

@parasssh parasssh merged commit 708d3e7 into release/v20.07 Jul 15, 2020
@joshua-goldstein joshua-goldstein deleted the paras/v2007_DGRAPH-1935 branch August 11, 2022 20:51
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.

3 participants