From b05f8aea613dc442514603c7045ee47f8b185d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Fri, 23 Aug 2024 17:44:03 +0200 Subject: [PATCH] Follow up change from #14354 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chunks are now grouped slightly differently, thus counter reset detection no longer works. The chunk from 40-43 is now processed independent of the remaining chunks. Signed-off-by: György Krajcsovits --- tsdb/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db_test.go b/tsdb/db_test.go index cfba2c5eaf..a53f3b3db7 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -6105,7 +6105,7 @@ func testOOONativeHistogramsWithCounterResets(t *testing.T, scenario sampleTypeS shouldReset: func(v int64) bool { return v == 44 }, - expCounterResetHints: []histogram.CounterResetHint{histogram.UnknownCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.CounterReset}, + expCounterResetHints: []histogram.CounterResetHint{histogram.UnknownCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.NotCounterReset, histogram.UnknownCounterReset}, }, { from: 50,