From fe4333e8e0277e7475d25278c79a38e1813a4f2a Mon Sep 17 00:00:00 2001 From: Tanya Gordeeva Date: Wed, 26 Jun 2019 17:51:13 -0700 Subject: [PATCH] fix(storage): fix tracking disk bytes in memory --- tsdb/tsm1/file_store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tsdb/tsm1/file_store.go b/tsdb/tsm1/file_store.go index 298d4c0483..bc99734bbd 100644 --- a/tsdb/tsm1/file_store.go +++ b/tsdb/tsm1/file_store.go @@ -336,6 +336,7 @@ func (t *fileTracker) SetBytes(bytes map[int]uint64) { for k, v := range bytes { label := formatLevel(uint64(k)) sizes[label] += v + total += v } for k, v := range sizes { labels["level"] = k