mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
app/vmstorage/servers: properly copy MetricName into MetricBlock inside blockIterator.NextBlock
This should fix the issue at cf36bfa189
This commit is contained in:
parent
1b2aeb621a
commit
916f1ab86c
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ func (bi *blockIterator) NextBlock(mb *storage.MetricBlock) bool {
|
|||
if !bi.sr.NextMetricBlock() {
|
||||
return false
|
||||
}
|
||||
mb.MetricName = bi.sr.MetricBlockRef.MetricName
|
||||
mb.MetricName = append(mb.MetricName[:0], bi.sr.MetricBlockRef.MetricName...)
|
||||
bi.sr.MetricBlockRef.BlockRef.MustReadBlock(&mb.Block)
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue