Reverse index doesn't update for non-list uid predicates #5732
Labels
area/indexes
Related to indexes (indices) and their usage.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
dgraph/dgraph:v20.07.0-beta.Jun22
Have you tried reproducing the issue with the latest release?
v20.07.0-beta.Jun22, and on master from 3 weeks ago
What is the hardware spec (RAM, OS)?
docker
Steps to reproduce the issue (command/config used to run Dgraph).
When overwriting the uid predicate, reverse index is not updated:
Schema string:
<edge>: uid @reverse .
First:
Then:
Then run query to see results:
Expected behaviour and actual result.
q
query has correct values, butq2
, which shows reverse edges, has even edges that do not exist.Reindexing fixes the issue.
The text was updated successfully, but these errors were encountered: