Skip to content

fix: stop sending DeleteTailnetPeer when coordinator is unhealthy #12925

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, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Apr 10, 2024

fixes #12923

Prevents Coordinate peer connections from generating spurious database queries like DeleteTailnetPeer when the coordinator is unhealthy.

It does this by checking the health of the querier before accepting a connection, rather than unconditionally accepting it only for it to get swatted down later.

Copy link
Contributor Author

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

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis requested a review from coadler April 10, 2024 12:03
@spikecurtis spikecurtis marked this pull request as ready for review April 10, 2024 12:03
@spikecurtis spikecurtis force-pushed the spike/12923-delete-peer-unhealthy branch from 3aa6b73 to 0361f14 Compare April 10, 2024 12:07
@spikecurtis spikecurtis force-pushed the spike/12923-delete-peer-unhealthy branch from 0361f14 to 16121ac Compare April 10, 2024 12:08
@spikecurtis spikecurtis merged commit 06eae95 into main Apr 10, 2024
26 checks passed
@spikecurtis spikecurtis deleted the spike/12923-delete-peer-unhealthy branch April 10, 2024 18:49
Copy link
Contributor Author

Merge activity

@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiple PGCoordinators going unhealthy can trigger a storm of DeleteTailnetPeer
2 participants