mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
lib/storage: typo fix after c3affb0c4f
This commit is contained in:
parent
ce91456982
commit
5260d7a954
@ -1019,6 +1019,7 @@ func (is *indexSearch) searchTagValuesOnDate(tvs map[string]struct{}, tagKey []b
|
|||||||
kb.B = is.marshalCommonPrefix(kb.B[:0], nsPrefixDateTagToMetricIDs)
|
kb.B = is.marshalCommonPrefix(kb.B[:0], nsPrefixDateTagToMetricIDs)
|
||||||
kb.B = encoding.MarshalUint64(kb.B, date)
|
kb.B = encoding.MarshalUint64(kb.B, date)
|
||||||
kb.B = marshalTagValue(kb.B, mp.Tag.Key)
|
kb.B = marshalTagValue(kb.B, mp.Tag.Key)
|
||||||
|
kb.B = marshalTagValue(kb.B, mp.Tag.Value)
|
||||||
kb.B[len(kb.B)-1]++
|
kb.B[len(kb.B)-1]++
|
||||||
ts.Seek(kb.B)
|
ts.Seek(kb.B)
|
||||||
}
|
}
|
||||||
@ -1102,6 +1103,7 @@ func (is *indexSearch) searchTagValues(tvs map[string]struct{}, tagKey []byte, m
|
|||||||
// Just increment it in order to jump to the next tag value.
|
// Just increment it in order to jump to the next tag value.
|
||||||
kb.B = is.marshalCommonPrefix(kb.B[:0], nsPrefixTagToMetricIDs)
|
kb.B = is.marshalCommonPrefix(kb.B[:0], nsPrefixTagToMetricIDs)
|
||||||
kb.B = marshalTagValue(kb.B, mp.Tag.Key)
|
kb.B = marshalTagValue(kb.B, mp.Tag.Key)
|
||||||
|
kb.B = marshalTagValue(kb.B, mp.Tag.Value)
|
||||||
kb.B[len(kb.B)-1]++
|
kb.B[len(kb.B)-1]++
|
||||||
ts.Seek(kb.B)
|
ts.Seek(kb.B)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user