mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +00:00
Merge branch 'public-single-node' into victorialogs-wip
This commit is contained in:
commit
cbf8bfc2c3
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ func (das *dedupAggrShard) flush(ctx *dedupFlushCtx, f func(samples []pushSample
|
||||||
das.m = make(map[string]*dedupAggrSample, len(m))
|
das.m = make(map[string]*dedupAggrSample, len(m))
|
||||||
das.sizeBytes.Store(0)
|
das.sizeBytes.Store(0)
|
||||||
das.itemsCount.Store(0)
|
das.itemsCount.Store(0)
|
||||||
das.samplesBuf = das.samplesBuf[:0]
|
das.samplesBuf = make([]dedupAggrSample, 0, len(das.samplesBuf))
|
||||||
}
|
}
|
||||||
|
|
||||||
das.mu.Unlock()
|
das.mu.Unlock()
|
||||||
|
|
Loading…
Reference in a new issue