-
Notifications
You must be signed in to change notification settings - Fork 164
fix(BA-3522): Prevent race condition in kernel metrics cleanup #8250
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
HyeockJinKim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand—if this task isn't included, how does it break the behavior?
Remove automatic cleanup of unused kernel metrics from collect_container_stat() to prevent race conditions where remove_kernel_metric() could fail when kernel info was already removed. Add warning log when attempting to remove metrics for an unknown kernel.
#8398) Co-authored-by: Sanghun Lee <[email protected]>
#8397) Co-authored-by: Sanghun Lee <[email protected]>
resolves #7536 (BA-3522)
Checklist: (if applicable)
ai.backend.testdocsdirectory