Skip to content

Commit 4c9e3b1

Browse files
committed
Test populateEarliestModified against current prod index.
1 parent 90975e3 commit 4c9e3b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data/store/mongo/mongo_datum.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,7 @@ func (d *DatumRepository) populateEarliestModified(ctx context.Context, userId s
827827
"$gt": status.LastUpdated,
828828
}
829829
if lowerTimeBound, err := time.Parse(time.RFC3339, LowerTimeIndexRaw); err == nil && timeMin.After(lowerTimeBound) {
830-
// has blocking sort, but more selective so usually performs better.
831-
findOptions.SetHint("TestUserIdActiveTypeModifiedTimeTime")
830+
findOptions.SetHint("UserIdActiveTypeTimeModifiedTime")
832831
}
833832
}
834833

0 commit comments

Comments
 (0)