Skip to content

Commit c815c1a

Browse files
Fixed another small bug
1 parent 7ce0c9a commit c815c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func (qs *queryState) handleValuePostings(ctx context.Context, args funcArgs) er
399399

400400
if !pickMultiplePostings {
401401
pl, err := qs.cache.GetSinglePosting(key)
402-
if pl == nil || err == posting.ErrNoValue {
402+
if pl == nil || err == posting.ErrNoValue || err == badger.ErrKeyNotFound {
403403
out.UidMatrix = append(out.UidMatrix, &pb.List{})
404404
out.FacetMatrix = append(out.FacetMatrix, &pb.FacetsList{})
405405
out.ValueMatrix = append(out.ValueMatrix,

0 commit comments

Comments
 (0)