File tree 2 files changed +2
-6
lines changed
modules/distributor/receiver
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
## main / unreleased
2
+
3
+ * [ ENHANCEMENT] Remove hardcoded delay in distributor shutdown [ #3687 ] ( https://github.com/grafana/tempo/pull/3687 ) (@chodges15 )
2
4
* [ ENHANCEMENT] Tempo CLI - add percentage support for query blocks #3697 [ #3697 ] ( https://github.com/grafana/tempo/pull/3697 ) (@edgarkz )
3
5
* [ ENHANCEMENT] Update OTLP and add attributes to instrumentation scope in vParquet4 [ #3649 ] ( https://github.com/grafana/tempo/pull/3649 ) (@stoewer )
4
6
** Breaking Change** The update to OTLP 1.3.0 removes the deprecated ` InstrumentationLibrary `
Original file line number Diff line number Diff line change @@ -305,12 +305,6 @@ func (r *receiversShim) starting(ctx context.Context) error {
305
305
306
306
// Called after distributor is asked to stop via StopAsync.
307
307
func (r * receiversShim ) stopping (_ error ) error {
308
- // when shutdown is called on the receiver it immediately shuts down its connection
309
- // which drops requests on the floor. at this point in the shutdown process
310
- // the readiness handler is already down so we are not receiving any more requests.
311
- // sleep for 30 seconds to here to all pending requests to finish.
312
- time .Sleep (30 * time .Second )
313
-
314
308
ctx , cancelFn := context .WithTimeout (context .Background (), 30 * time .Second )
315
309
defer cancelFn ()
316
310
You can’t perform that action at this time.
0 commit comments