Remove comments

This commit is contained in:
fayzal-g 2023-01-16 15:49:49 +00:00
parent 7aef6e28fe
commit d2ac103ba9

View file

@ -496,8 +496,8 @@ func (h *Head) resetSeriesWithMMappedChunks(mSeries *memSeries, mmc, oooMmc []*m
} }
h.metrics.chunksCreated.Add(float64(len(mmc) + len(oooMmc))) h.metrics.chunksCreated.Add(float64(len(mmc) + len(oooMmc)))
h.metrics.chunksRemoved.Add(float64(len(mSeries.mmappedChunks))) /// + len(mSeries.ooo.oooMmappedChunks))) h.metrics.chunksRemoved.Add(float64(len(mSeries.mmappedChunks)))
h.metrics.chunks.Add(float64(len(mmc) + len(oooMmc) - len(mSeries.mmappedChunks))) /// - len(mSeries.ooo.oooMmappedChunks))) h.metrics.chunks.Add(float64(len(mmc) + len(oooMmc) - len(mSeries.mmappedChunks)))
mSeries.mmappedChunks = mmc mSeries.mmappedChunks = mmc
mSeries.ooo = nil mSeries.ooo = nil
if len(oooMmc) == 0 { if len(oooMmc) == 0 {