lib/storage: typo fix in comments after f830edc0bc

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

View File

@ -1070,7 +1070,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)