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

Wait for a recheck after config reload and detection of primary not being available #123

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

rdunklau
Copy link
Contributor

Following 67d96f4, which moves the reload of the config in the main thread, we can now take a failover decision right after a config change, without waiting for the newly initiated check to be performed.

Similarly, we need to wait for the check triggered when the primary is unreachable to complete before we make a decision.

@rdunklau rdunklau marked this pull request as draft April 11, 2024 05:25
@rdunklau rdunklau force-pushed the rdunklau/use_that_new_state branch from 5ea3daa to d856fce Compare April 11, 2024 06:41
@rdunklau rdunklau force-pushed the rdunklau/use_that_new_state branch from d856fce to 9ffc8c6 Compare April 11, 2024 06:57
@rdunklau rdunklau marked this pull request as ready for review April 11, 2024 08:52
@alexole alexole merged commit a0252a8 into main Apr 11, 2024
21 checks passed
@alexole alexole deleted the rdunklau/use_that_new_state branch April 11, 2024 11:14
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