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

Add --cleanup-on-exit #64

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add --cleanup-on-exit #64

wants to merge 4 commits into from

Conversation

Jorres
Copy link
Contributor

@Jorres Jorres commented Mar 3, 2025

Problem: interrupting ydbops restart leaves Requests and Permissions in YDB state.
Sometimes it is desired, so we could continue current instance of rolling restart later (not implemented yet, with --continue flag).

But at other times leaving a high-priority request (not even permission) in YDB state leads to infrastructure teams not being able to take out nodes for maintenance, EVEN THOUGH the ydbops restart process which spawned the request is long gone and does not need this request anymore.

@Jorres
Copy link
Contributor Author

Jorres commented Mar 3, 2025

The linter complains about excessive length of two core rolling restart functions. I have looked at it and it's probably better to leave as is, it's difficult to nicely shard these two.

@Jorres Jorres requested a review from nikitka March 3, 2025 14:49
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