-
Notifications
You must be signed in to change notification settings - Fork 81
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 in the stats element #163
Comments
Hello, thanks for the report. Please include information about the VPP version. Also, if possible perhaps including dump using |
I have not done any code investigation, but from quick glance, my assumption of what is happening here is that some interface got deleted during the update of stats entry data. This commit is possibly related to this: FDio/vpp@ff27c9f I see two solutions to be explored:
|
Thanks! I'm not sure, but I think that the creation of the interface occurred at the time the statistics were received. It seems we didn't remove the interfaces at that point |
Hello @ondrej-fabry, Can't we just use https://github.com/FDio/govpp/blob/v0.8.0/adapter/statsclient/statseg_v2.go#L340-L341 |
@ondrej-fabry Any insight here? |
Hello,
We are facing a panic issue in the stats element:
Most likely, interfaces are created in parallel. Or probably
GetInterfaceStats
is called from different goroutines.Do you have any ideas how to fix this?
The text was updated successfully, but these errors were encountered: