-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_kubernetes_metadata panics when a Beat shuts down #34219
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
This happens even when not running on Kubernetes. It's not clear if filestream or the add_metadata_processor is at fault here yet. |
Hello @cmacknz do we agree this should have no impact except being noisy at shutdown/restarts of the agents? |
Yes, no known impact besides noise in the logs on shutdown. |
This According to users on Discuss it has a high impact because it does not delete received messages.
The input uses a unique Beat pipeline.Client to process each SQS message and hence it closes pipeline.Clients frequently (separate pipeline.Clients prevent mutex contention between sqs/s3 readers).
|
Duplicates: #32200 |
The actual fix is in this PR #34761 |
I've observed an occasional panic in the add_kubernetes_metadata processor where a channel can be closed twice. This typically occurs when the Beat is being shutdown. Here is a sample from the 8.6 Elastic agent logs.
Here is a more nicely formatted callstack:
The text was updated successfully, but these errors were encountered: