Skip to content

[probes.udp] Bug-fix: don't add worker to working group prematurely - #1029

Merged
manugarg merged 1 commit into
mainfrom
udp_fix
Mar 6, 2025
Merged

manugarg merged 1 commit into
mainfrom
udp_fix

Conversation

@manugarg

@manugarg manugarg commented Mar 6, 2025 •

Copy link
Copy Markdown
Contributor
  • Worker should be added to worker group right before we start the worker. I missed this regression while reviewing this change.
  • Also, use the newer (and better) way to resolve targets, where we call resolve on the endpoint itself. This way we can return the stored IP immediately instead of going back to target's resolver.

This fixes #1030. Much thanks to @Koaxiel for finding and debugging this bug.

Thinking more about it, we should perhaps change Targets' interface to not include Resolve at all, instead always store IP in the endpoint while discovering targets. I'll file another issue to track that change.

@manugarg manugarg added this to the v0.14.0 milestone Mar 6, 2025
@manugarg
manugarg merged commit 1742114 into main Mar 6, 2025
@manugarg
manugarg deleted the udp_fix branch March 6, 2025 20:30
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.

Targets not resolved correctly in UDP probe

1 participant