lib/storage: typo fix in comments after f830edc0bc

This commit is contained in:
Aliaksandr Valialkin 2022-08-16 13:44:45 +03:00
parent e690bdda09
commit e3fd90e35e
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -1012,7 +1012,7 @@ func (is *indexSearch) searchLabelValuesWithFiltersOnDate(qt *querytracer.Tracer
return err
}
if filter != nil && filter.Len() < 100e3 {
// It is faster to obtain label names by metricIDs from the filter
// It is faster to obtain label values by metricIDs from the filter
// instead of scanning the inverted index for the matching filters.
// This hould help https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2978
metricIDs := filter.AppendTo(nil)