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

fix(torture): use the right rr #822

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

pepyakin
Copy link
Contributor

This PR fixes the issue when the workload might error out because of the
Broken Pipe error. This is unmasked by the previous PR in the stack.

The error is that the rr is not reloaded for sampling/checking the
snapshot applied/not applied after a crash. Instead the rr of the dead
process was used.

This fix comes with a refactor where we store the rr in a field and keep
it synchronized with the agent. This seems to be an easier task than
trying to keep from not reloading it at the right time.

Copy link
Contributor Author

pepyakin commented Feb 21, 2025

Copy link
Contributor Author

pepyakin commented Feb 21, 2025

Merge activity

  • Feb 21, 11:19 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Feb 21, 11:23 AM EST: Graphite rebased this pull request as part of a merge.
  • Feb 21, 11:25 AM EST: A user merged this pull request with Graphite.

@pepyakin pepyakin changed the base branch from pep-fix-torture-spawn-sock-nonblocking to graphite-base/822 February 21, 2025 16:20
@pepyakin pepyakin changed the base branch from graphite-base/822 to master February 21, 2025 16:22
This PR fixes the issue when the workload might error out because of the
Broken Pipe error. This is unmasked by the previous PR in the stack.

The error is that the rr is not reloaded for sampling/checking the
snapshot applied/not applied after a crash. Instead the rr of the dead
process was used.

This fix comes with a refactor where we store the rr in a field and keep
it synchronized with the agent. This seems to be an easier task than
trying to keep from not reloading it at the right time.
@pepyakin pepyakin force-pushed the pep-fix-torture-reload-rr branch from 0266eca to 72ba3da Compare February 21, 2025 16:23
@pepyakin pepyakin merged commit d218790 into master Feb 21, 2025
8 checks passed
@pepyakin pepyakin deleted the pep-fix-torture-reload-rr branch February 21, 2025 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