Skip to content
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

OH-2 Eliminate race condition in failover logic #101

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

StephenCWills
Copy link
Member

With this PR, if we receive a request for failover, we don't even check if the primary node is active because its web host may not be available at the point where it's requesting failover. The logic is much simpler. The web host will reject the request if the user is unauthorized. ServiceHost will reject the request if the node is not configured as a secondary node.

@clackner-gpa clackner-gpa merged commit 83c70f1 into master May 2, 2024
3 checks passed
@clackner-gpa clackner-gpa deleted the OH-2 branch May 2, 2024 18:38
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