lib/storage: typo fix in comments after f830edc0bc

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

View file

@ -1047,7 +1047,7 @@ func (is *indexSearch) searchLabelValuesWithFiltersOnDate(qt *querytracer.Tracer
return err return err
} }
if filter != nil && filter.Len() < 100e3 { 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. // instead of scanning the inverted index for the matching filters.
// This hould help https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2978 // This hould help https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2978
metricIDs := filter.AppendTo(nil) metricIDs := filter.AppendTo(nil)