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

[Feature] Abort resignation of leadership when dbserver restarted #1291

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

informalict
Copy link
Contributor

@informalict informalict commented Apr 13, 2023

no automated tests for it. I did some manual tests where I restarted DB server when it was in restarting phase, so operator was able to log information about this fact.

When leader's shards must be moved from one DB server to another, then resign leadership action must be performed.
Operator requests for it and checks progress. In the meantime, it may occur that DB server is restarted and action will not be finished in some timeout ~1 hour. With this PR, this action will be removed immediately whenever it occurs.

@cla-bot cla-bot bot added the cla-signed label Apr 13, 2023
@informalict informalict force-pushed the GT-354/abort-resignation-leadership branch from 9bce272 to ce3de44 Compare April 13, 2023 08:17
@informalict informalict marked this pull request as ready for review April 20, 2023 12:02
@informalict informalict changed the title abort resignation of leadership when dbserver restarted [Feature] abort resignation of leadership when dbserver restarted Apr 21, 2023
@ajanikow ajanikow force-pushed the GT-354/abort-resignation-leadership branch from 9eb192e to a184177 Compare July 20, 2023 05:08
@ajanikow ajanikow changed the title [Feature] abort resignation of leadership when dbserver restarted [Feature] Abort resignation of leadership when dbserver restarted Jul 20, 2023
@ajanikow ajanikow force-pushed the GT-354/abort-resignation-leadership branch from d948daa to cdff231 Compare July 20, 2023 18:12
@ajanikow ajanikow merged commit 8949920 into master Jul 20, 2023
@ajanikow ajanikow deleted the GT-354/abort-resignation-leadership branch July 20, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants