You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid panic in handleValuePostings (#5652) (#5678)
Fixes: DGRAPH-1608
srcFn.n should be equal to len(q.UidList.Uids) for implementation DivideAndRule and
calculate to work correctly. But we have seen some panics while forming DataKey in
calculate(). panic is of the form "index out of range [4] with length 1". We have tried to
reproduce this but couldn't find any edge case which will result in this panic. So for now
we are just logging when srcFn.n != len(q.UidList.Uids) and returning error when this
happens.
(cherry picked from commit 2184268)
0 commit comments