Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix tailnet remoteCoordination to wait for server#14666

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
spikecurtis merged 1 commit intomainfromspike/tac-disconnects-flake
Sep 16, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedSep 13, 2024
edited
Loading

Fixes#12560

When gracefully disconnecting from the coordinator, we would send the Disconnect message and then close the dRPC stream. However, closing the dRPC stream can cause the server not to process the Disconnect message, since we use the stream context in aselect while sending it to the coordinator.

This is a product bug uncovered by the flake, and probably results in us failing graceful disconnect some minority of the time.

Instead, theremoteCoordination (andinMemoryCoordination for consistency) should send the Disconnect message and then wait for the coordinator to hang up (on some graceful disconnect timer, in the form of a context).

@spikecurtisGraphite App
Copy link
ContributorAuthor

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

Join@spikecurtis and the rest of your teammates onGraphiteGraphite

@spikecurtisspikecurtis marked this pull request as ready for reviewSeptember 13, 2024 10:07
@spikecurtisspikecurtisforce-pushed thespike/tac-disconnects-flake branch from2b9d09d to540d7ebCompareSeptember 13, 2024 10:11
Copy link
Collaborator

@sreyasreya left a comment

Choose a reason for hiding this comment

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

👍 for the comments

@spikecurtisspikecurtis merged commit2df9a3e intomainSep 16, 2024
27 checks passed
@spikecurtisspikecurtis deleted the spike/tac-disconnects-flake branchSeptember 16, 2024 05:24
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 16, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@sreyasreyasreya approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Test Flake: TestTailnetAPIConnector_Disconnects
2 participants
@spikecurtis@sreya

[8]ページ先頭

©2009-2025 Movatter.jp