-
Notifications
You must be signed in to change notification settings - Fork 52
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
Panic occurs when storage.type filesystem #29
Comments
https://github.com/fluent/fluent-bit-go/blob/master/output/decoder.go#L79-L81 if slice.Kind(m) != reflect.Slice {
return -1, 0, nil
}
slice := reflect.ValueOf(m)
t := slice.Index(0).Interface()
data := slice.Index(1) This is a suggestion. It might be better to check that it is slice to be type safe. |
same here. amazon/aws-for-fluent-bit:2.3.1, FluentBit 1.4.5
|
@fluent/contributors |
Assigned this to me because I am a member of this repo; there are a few folks on my team who help maintain the AWS go plugins. I'll make sure myself or one of them spends some time troubleshooting this issue this month. |
Note identical failure but completely different circumstances. Might shed some light: #34 |
I got go panic when I set
storage.type filesystem
on fluent bit v1.4.2 and fluent bit go s3 v0.7.0.This doesn't always happen and I don't know how to reproduce it.
It seems to have a high probability of occurring when the fluent bit is repeatedly restarted.
The text was updated successfully, but these errors were encountered: