Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug for queries with @recurse and expand(_all_). (dgraph-io#3179)
Currently this type of queries might result in an unrecoverable error in the alpha. This happens for example, while trying to expand on a node of type PASSWORD. The reason is that handleValuePostings and handleUidPostings sometimes successfully return early without setting the UidMatrix field. This change adds a fix and modifies the existing test to trigger this case. I have verified that the test crashes the alpha when the fix is absent.
- Loading branch information