-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Bug]: Panic of jaeger collector #3885
Comments
Smells like a race condition, but However, there's definitely inefficiency in how collector tags are applied, since they are added to |
@yurishkuro , I agree it looks like a race condition but I dig a bit in the code and I don't find/understand where there is parallel operation (write by addCollectorTags / read by protobuf serializer) Concerning the inefficiency, I will look a bit in the code to see if it is easy to solve but no guarantee |
Do you know why we decide to sort the process tag only when collector.tags option is activated. I tested by removing the sort call and I no more reproduce the issue. |
Are you able to reliably reproduce the issue? It would be good to find the actual issue - applying Sort is just a symptom, I think. |
Actually, I think that is it - the call to Can you try with #3886 ? |
@yurishkuro , thanks for the reactivity! I will test your patch tomorrow morning. About reliability to reproduce :
|
👍 |
I installed the patched version 5 hours ago and so far so good ! |
What happened?
I have a panic of the jaeger-collector
Steps to reproduce
Expected behavior
No panic
Relevant log output
Screenshot
No response
Additional context
I dig a bit in the code (by adding some debug) and it seems that it could be linked to
jaeger/cmd/collector/app/span_processor.go
Line 213 in ddca3c8
For tests, I recompile without the typedTags.Sort() and I hadn't have panic anymore
Jaeger backend version
1.37.0
SDK
No response
Pipeline
OTEL Shim => OTEL SDK => Jaeger Agent => Jaeger collector => Kafka (protobuf)
Stogage backend
ElasticSearch 7 + Kafka (protobuf)
Operating system
Linux
Deployment model
binaries on KVM VMs
Deployment configs
The text was updated successfully, but these errors were encountered: