From d2ac103ba99b37307650d322d4abf81ddd7664eb Mon Sep 17 00:00:00 2001 From: fayzal-g Date: Mon, 16 Jan 2023 15:49:49 +0000 Subject: [PATCH] Remove comments --- tsdb/head_wal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsdb/head_wal.go b/tsdb/head_wal.go index 21cd285ec..dc2aa705f 100644 --- a/tsdb/head_wal.go +++ b/tsdb/head_wal.go @@ -496,8 +496,8 @@ func (h *Head) resetSeriesWithMMappedChunks(mSeries *memSeries, mmc, oooMmc []*m } h.metrics.chunksCreated.Add(float64(len(mmc) + len(oooMmc))) - h.metrics.chunksRemoved.Add(float64(len(mSeries.mmappedChunks))) /// + len(mSeries.ooo.oooMmappedChunks))) - h.metrics.chunks.Add(float64(len(mmc) + len(oooMmc) - 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))) mSeries.mmappedChunks = mmc mSeries.ooo = nil if len(oooMmc) == 0 {