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: prevent single replica proxies from staying unhealthy#12641

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
deansheather merged 1 commit intomainfromdean/avoid-replica-health-hang
Mar 18, 2024

Conversation

deansheather
Copy link
Member

In the peer healthcheck code, when an error pinging peers is detected we write a "replicaErr" string with the error reason. However, if there are no peer replicas to ping we returned early without setting the string to empty. This would cause replicas that had peers (which were failing) and then the peers left to permanently show an error until a new peer appeared.

Also demotes DERP replica checking to a "warning" rather than an "error" which should prevent the primary from removing the proxy from the region map if DERP meshing is non-functional. This can happen without causing problems if the peer is shutting down so we don't want to disrupt everything if there isn't an issue.

In the peer healthcheck code, when an error pinging peers is detected wewrite a "replicaErr" string with the error reason. However, if there areno peer replicas to ping we returned early without setting the string toempty. This would cause replicas that had peers (which were failing) andthen the peers left to permanently show an error until a new peerappeared.Also demotes DERP replica checking to a "warning" rather than an "error"which should prevent the primary from removing the proxy from the regionmap if DERP meshing is non-functional. This can happen without causingproblems if the peer is shutting down so we don't want to disrupteverything if there isn't an issue.
@deansheatherdeansheather merged commitcf50461 intomainMar 18, 2024
@deansheatherdeansheather deleted the dean/avoid-replica-health-hang branchMarch 18, 2024 13:45
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 18, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@deansheatherdeansheather

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@deansheather@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp