Skip to content

runtime: defer responding to peer queries until peer state received#135

Merged
npry merged 1 commit intomainfrom
npry/rt.defer-query
Apr 24, 2026
Merged

runtime: defer responding to peer queries until peer state received#135
npry merged 1 commit intomainfrom
npry/rt.defer-query

Conversation

@npry
Copy link
Copy Markdown
Collaborator

@npry npry commented Apr 23, 2026

Defer responding to peer queries until we've gotten at least one mapresponse that updates the peer state. This is I think more inline with behavior someone would expect when calling peer_by_name.

Comment thread ts_runtime/src/peer_tracker.rs
Copy link
Copy Markdown
Collaborator

@dylan-tailscale dylan-tailscale left a comment

Choose a reason for hiding this comment

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

one question, lgtm!

@npry npry force-pushed the npry/rt.defer-query branch from 27e33d9 to 5e5a4f6 Compare April 24, 2026 21:43
Defer responding to peer queries until we've gotten at least one
mapresponse that updates the peer state.

Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: I4e509454aa2a7c3bc8e40312a8813db96a6a6964
@npry npry force-pushed the npry/rt.defer-query branch from 5e5a4f6 to 0c63a06 Compare April 24, 2026 22:15
@npry npry merged commit 0c63a06 into main Apr 24, 2026
18 checks passed
@npry npry deleted the npry/rt.defer-query branch April 24, 2026 22:31
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