Skip to content

Commit

Permalink
Fixed another small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshil Goel committed Sep 5, 2023
1 parent 2af96de commit 3a2f444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (qs *queryState) handleValuePostings(ctx context.Context, args funcArgs) er

if !pickMultiplePostings {
pl, err := qs.cache.GetSinglePosting(key)
if pl == nil || err == posting.ErrNoValue {
if pl == nil || err == posting.ErrNoValue || err == badger.ErrKeyNotFound {
out.UidMatrix = append(out.UidMatrix, &pb.List{})
out.FacetMatrix = append(out.FacetMatrix, &pb.FacetsList{})
out.ValueMatrix = append(out.ValueMatrix,
Expand Down

0 comments on commit 3a2f444

Please sign in to comment.