Skip to content

Commit

Permalink
fixed another test
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Jan 29, 2025
1 parent d15410e commit 2f9f302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion posting/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ func (txn *Txn) addReverseMutationHelper(ctx context.Context, plist *List,
hasCountIndex bool, edge *pb.DirectedEdge) (countParams, error) {
countBefore, countAfter := 0, 0
found := false
isScalarPredicate := !schema.State().IsList(edge.Attr)
pk, _ := x.Parse(plist.key)
isScalarPredicate := !schema.State().IsList(edge.Attr) && !pk.IsReverse()

plist.Lock()
defer plist.Unlock()
Expand Down

0 comments on commit 2f9f302

Please sign in to comment.