A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/thanos-io/thanos/commit/36681afb5eb001b1658fd85bd2cc900b55cce1bc below:

Merge pull request #8379 from thanos-io/rel_0392 · thanos-io/thanos@36681af · GitHub

File tree Expand file treeCollapse file tree 6 files changed

+210

-109

lines changed

Filter options

Expand file treeCollapse file tree 6 files changed

+210

-109

lines changed Original file line number Diff line number Diff line change

@@ -8,6 +8,13 @@ NOTE: As semantic versioning states all 0.y.z releases can contain breaking chan

8 8 9 9

We use *breaking :warning:* to mark changes that are not backward compatible (relates only to v0.y.z releases.)

10 10 11 +

### [v0.39.2](https://github.com/thanos-io/thanos/tree/release-0.39) - 2025 07 17

12 + 13 +

### Fixed

14 + 15 +

- [#8374](https://github.com/thanos-io/thanos/pull/8374) Query: fix panic when concurrently accessing annotations map

16 +

- [#8375](https://github.com/thanos-io/thanos/pull/8375) Query: fix native histogram buckets in distributed queries

17 + 11 18

### [v0.39.1](https://github.com/thanos-io/thanos/tree/release-0.39) - 2025 07 01

12 19 13 20

Fixes a memory leak issue on query-frontend. The bug only affects v0.39.0.

Original file line number Diff line number Diff line change

@@ -1 +1 @@

1 -

0.39.1

1 +

0.39.2

Original file line number Diff line number Diff line change

@@ -675,7 +675,9 @@ func (qapi *QueryAPI) query(r *http.Request) (interface{}, []error, *api.ApiErro

675 675

}

676 676

return nil, nil, &api.ApiError{Typ: api.ErrorExec, Err: res.Err}, qry.Close

677 677

}

678 -

warnings = append(warnings, res.Warnings.AsErrors()...)

678 +

// this prevents a panic when annotations are concurrently accessed

679 +

safeWarnings := annotations.New().Merge(res.Warnings)

680 +

warnings = append(warnings, safeWarnings.AsErrors()...)

679 681 680 682

var analysis queryTelemetry

681 683

if qapi.parseQueryAnalyzeParam(r) {

@@ -984,7 +986,9 @@ func (qapi *QueryAPI) queryRange(r *http.Request) (interface{}, []error, *api.Ap

984 986

}

985 987

return nil, nil, &api.ApiError{Typ: api.ErrorExec, Err: res.Err}, qry.Close

986 988

}

987 -

warnings = append(warnings, res.Warnings.AsErrors()...)

989 +

// this prevents a panic when annotations are concurrently accessed

990 +

safeWarnings := annotations.New().Merge(res.Warnings)

991 +

warnings = append(warnings, safeWarnings.AsErrors()...)

988 992 989 993

var analysis queryTelemetry

990 994

if qapi.parseQueryAnalyzeParam(r) {

Original file line number Diff line number Diff line change

@@ -78,6 +78,7 @@ func HistogramProtoToHistogram(hp Histogram) *histogram.Histogram {

78 78

PositiveBuckets: hp.GetPositiveDeltas(),

79 79

NegativeSpans: spansProtoToSpans(hp.GetNegativeSpans()),

80 80

NegativeBuckets: hp.GetNegativeDeltas(),

81 +

CustomValues: hp.GetCustomValues(),

81 82

}

82 83

}

83 84

@@ -98,6 +99,7 @@ func FloatHistogramProtoToFloatHistogram(hp Histogram) *histogram.FloatHistogram

98 99

PositiveBuckets: hp.GetPositiveCounts(),

99 100

NegativeSpans: spansProtoToSpans(hp.GetNegativeSpans()),

100 101

NegativeBuckets: hp.GetNegativeCounts(),

102 +

CustomValues: hp.GetCustomValues(),

101 103

}

102 104

}

103 105

@@ -120,6 +122,7 @@ func HistogramProtoToFloatHistogram(hp Histogram) *histogram.FloatHistogram {

120 122

PositiveBuckets: deltasToCounts(hp.GetPositiveDeltas()),

121 123

NegativeSpans: spansProtoToSpans(hp.GetNegativeSpans()),

122 124

NegativeBuckets: deltasToCounts(hp.GetNegativeDeltas()),

125 +

CustomValues: hp.GetCustomValues(),

123 126

}

124 127

}

125 128

@@ -156,6 +159,7 @@ func HistogramToHistogramProto(timestamp int64, h *histogram.Histogram) Histogra

156 159

PositiveDeltas: h.PositiveBuckets,

157 160

ResetHint: Histogram_ResetHint(h.CounterResetHint),

158 161

Timestamp: timestamp,

162 +

CustomValues: h.CustomValues,

159 163

}

160 164

}

161 165

@@ -173,6 +177,7 @@ func FloatHistogramToHistogramProto(timestamp int64, fh *histogram.FloatHistogra

173 177

PositiveCounts: fh.PositiveBuckets,

174 178

ResetHint: Histogram_ResetHint(fh.CounterResetHint),

175 179

Timestamp: timestamp,

180 +

CustomValues: fh.CustomValues,

176 181

}

177 182

}

178 183

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4