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

windows: revert process listing logic to that of v1.6.10 #24494

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

shoenig
Copy link
Contributor

@shoenig shoenig commented Nov 19, 2024

In Nomad 1.7 much of the process management code was refactored, including
a rewrite of how the process tree of an executor was determined on Windows
machines. Unfortunately that rewrite has been cursed with performance issues
and bugs. Instead, revert to the logic used in v1.6.10.

Fixes #23984

In Nomad 1.7 much of the process management code was refactored, including
a rewrite of how the process tree of an executor was determined on Windows
machines. Unfortunately that rewrite has been cursed with performance issues
and bugs. Instead, revert to the logic used in v1.6.10.
@shoenig shoenig force-pushed the windows-ps-recursive branch from 98b88b8 to 5fdfe3d Compare November 19, 2024 19:56
@shoenig shoenig added backport/1.7.x backport to 1.7.x release line backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.8.x backport to 1.8.x release line backport/ent/1.9.x+ent Changes are backported to 1.9.x+ent backport/1.9.x backport to 1.9.x release line labels Nov 20, 2024
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM!

Should we mark this as Fixes: #23984 ? This will fix any memory issues with recursion at least.

@tgross tgross removed backport/1.7.x backport to 1.7.x release line backport/1.8.x backport to 1.8.x release line backport/ent/1.9.x+ent Changes are backported to 1.9.x+ent labels Nov 20, 2024
@shoenig shoenig merged commit dd396a3 into main Nov 20, 2024
26 checks passed
@shoenig shoenig deleted the windows-ps-recursive branch November 20, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.9.x backport to 1.9.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite recursion on list_windows.go
2 participants