Skip to content
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

Adds accept4 to NetworkSignalHandler #1975

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

Stringy
Copy link
Collaborator

@Stringy Stringy commented Nov 29, 2024

Description

Accept4 was ignored by the signal handler, resulting in missing connection information, as shown with recent berserker network stress testing. This PR adds the missing syscall.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

Tested on an openshift 4 cluster, using berserker.

@Stringy Stringy requested a review from a team as a code owner November 29, 2024 11:31
Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

LGTM!

Just a minor comment on a simplification.

collector/lib/NetworkSignalHandler.cpp Outdated Show resolved Hide resolved
@Stringy Stringy force-pushed the giles/fix-accept4-handling branch from 34bc895 to 8b79c42 Compare December 2, 2024 14:42
@Stringy Stringy merged commit 69fc54b into master Dec 2, 2024
52 of 55 checks passed
@Stringy Stringy deleted the giles/fix-accept4-handling branch December 2, 2024 16:25
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.

2 participants