From 98f86d671ad63a7a1d950def43a1fc31a560e3d7 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 2 Jul 2021 19:02:30 +0300 Subject: [PATCH] cleanup comments Signed-off-by: Dieter Plaetinck --- tsdb/chunkenc/histo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tsdb/chunkenc/histo.go b/tsdb/chunkenc/histo.go index b11f975d4..010e7e358 100644 --- a/tsdb/chunkenc/histo.go +++ b/tsdb/chunkenc/histo.go @@ -426,11 +426,11 @@ type histoIterator struct { numTotal uint16 numRead uint16 - // Meta + // Metadata: schema int32 posSpans, negSpans []histogram.Span - // for the fields that are tracked as dod's + // For the fields that are tracked as dod's. t int64 cnt, zcnt uint64 tDelta, cntDelta, zcntDelta int64 @@ -438,7 +438,7 @@ type histoIterator struct { posbuckets, negbuckets []int64 posbucketsDelta, negbucketsDelta []int64 - // for the fields that are gorilla xor coded + // The sum is Gorilla xor encoded. sum float64 leading uint8 trailing uint8