Certain GraphQL Queries Hang

Hi @StellarAnt and @testak ,

Welcome to Dgraph Community !!

Thanks for posting this bug. We had made changes to how graphql results are encoded in Dgraph in January and the new encoding has this issue.

This issue was reported earlier and has been fixed in master and upcoming 21.03.1 release with the following PR, Fix(GraphQL): Fix GraphQL encoding in case of empty list by vmrajas · Pull Request #7726 · dgraph-io/dgraph · GitHub .

This happens when edge1 is an empty list and edge2 has more than one elements.

1 Like