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

Don't destroy replicas part of shutdown nexuses #862

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

tiagolobocastro
Copy link
Contributor

feat: re-shutdown nexus when node is online

When nexus shutdown fails, if the node comes back online let's
attempt the shutdown again.

Signed-off-by: Tiago Castro <[email protected]>

fix: don't disown replica from unshutdown nexus

In case nexus shutdown failed we used to disown the replica from
both the volume and the nexus.
This can be a problem if the nexus is still running as the io-engine
does not handle it gracefully, leading into pool lock issues.
Instead, simply disown the replica from the volume and not the nexus.

Signed-off-by: Tiago Castro <[email protected]>

In case nexus shutdown failed we used to disown the replica from
both the volume and the nexus.
This can be a problem if the nexus is still running as the io-engine
does not handle it gracefully, leading into pool lock issues.
Instead, simply disown the replica from the volume and not the nexus.

Signed-off-by: Tiago Castro <[email protected]>
When nexus shutdown fails, if the node comes back online let's
attempt the shutdown again.

Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit bebdf8a into release/2.7 Sep 18, 2024
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the replica-disown branch September 18, 2024 11:00
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.

3 participants