You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description:**
Fixing a bug - described here
#9099
**Link to tracking Issue:**
#9099
**Testing:**
No tests added.
Unit tests were run
**Documentation:**
None
Describe the bug
Memorylimiter processor never leaves that loop https://github.com/open-telemetry/opentelemetry-collector/blob/1d0d1ef21baebfcc9ed1d67f0237437ceb9a0049/processor/memorylimiterprocessor/memorylimiter.go#L230C1-L230C1. In result this goroutine or many of them leak every time after shutdown procedure.
Steps to reproduce
jskiba@2f8ee15
The only leaking goroutine is the one from this bug #8945.
What did you expect to see?
No leaking goroutine and correct exit from for loop.
What did you see instead?
Goroutine
opentelemetry-collector/processor/memorylimiterprocessor/memorylimiter.go
Line 229 in 1d0d1ef
What version did you use?
1d0d1ef
What config did you use?
not applicable
Environment
OS: Debian 12.4 bookworm
Compiler(if manually compiled): go 1.21.5"
Additional context
The text was updated successfully, but these errors were encountered: