Skip to content

fix(agent): fix deadlock if closed while starting listeners #17329

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Apr 10, 2025

fixes #17328

Fixes a deadlock if we close the Agent in the middle of starting listeners on the tailnet.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis requested a review from mafredri April 10, 2025 08:16
@spikecurtis spikecurtis marked this pull request as ready for review April 10, 2025 08:16
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor Author

spikecurtis commented Apr 10, 2025

Merge activity

  • Apr 10, 4:46 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Apr 10, 4:46 AM EDT: A user merged this pull request with Graphite.

@spikecurtis spikecurtis merged commit c1816e3 into main Apr 10, 2025
41 checks passed
@spikecurtis spikecurtis deleted the spike/agent-close-while-starting branch April 10, 2025 08:46
johnstcn pushed a commit that referenced this pull request Apr 10, 2025
fixes #17328

Fixes a deadlock if we close the Agent in the middle of starting listeners on the tailnet.
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.

bug: Agent can deadlock if closed while creating tailnet listeners
2 participants