Skip to content

fix: enhance event monitoring by adding close event channel - #4184

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
fahedouch:refacto-and-fix-stats-showAll
May 6, 2025
Merged

AkihiroSuda merged 1 commit into
containerd:mainfrom
fahedouch:refacto-and-fix-stats-showAll

Conversation

@fahedouch

Copy link
Copy Markdown
Member

fix #4043

@fahedouch fahedouch added this to the v2.1.0 milestone May 2, 2025

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, can we have a test?

@apostasie

Copy link
Copy Markdown
Contributor

@fahedouch related: #4132
This one has been plaguing us for some time.
It looks like sometimes we miss events.

Would be nice to have it looked into at some point... :)

@fahedouch

Copy link
Copy Markdown
Member Author

Thanks, can we have a test?

The impacted func is a nested function, so it's complicated to test it unitarily unless I refactor the code and transform the inner function into a standalone function. Here, I don't see the point of doing that.

@AkihiroSuda
AkihiroSuda merged commit 45bc87f into containerd:main May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stats panic (send on closed channel)

3 participants