-
Notifications
You must be signed in to change notification settings - Fork 513
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
Query-frontend will occasionally panic when under sustained load #843
Comments
The panic originates from these lines: if err, ok := lf.interfaceVal.(error); ok {
visitor.EmitString(lf.key, err.Error())
} else {
visitor.EmitString(lf.key, "<nil>")
} I'm guessing we are somewhere logging aƒ span field with Implementation of func (e *errorString) Error() string {
return e.s
} https://golang.org/src/errors/errors.go This can only panic if It's possible to pass a nil value with a non-nil interface:
But |
Example of how you can cause this: https://play.golang.org/p/K4rrupMiAYt
|
Closing in favour of #857 |
Describe the bug
Query-frontend will occasionally panic:
We observed this while receiving a constant load of about 23 queries per second.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tempo should not panic.
Environment:
Additional Context
The text was updated successfully, but these errors were encountered: