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

fix(fs/shutdown): pause nexus when faulted #1407

Merged
merged 3 commits into from
Jun 14, 2023
Merged

fix(fs/shutdown): pause nexus when faulted #1407

merged 3 commits into from
Jun 14, 2023

Conversation

tiagolobocastro
Copy link
Contributor

When the last healthy child of a nexus is faulted, errors are propagated up the stack causing the filesystem to shutdown itself down.

Instead I propose that we simply leave the nexus in a paused state, allowing the initiator to start the re-connection cycle, giving us some “time” to recreate the nexus again when the replica is available again.

todo: we might want to add a time-limit after which we resort to failing IOs?

mayastor/src/bdev/nexus/nexus_bdev.rs Show resolved Hide resolved
mayastor/src/bdev/nexus/nexus_bdev.rs Show resolved Hide resolved
When the last healthy child of a nexus is faulted, errors are propagated up the stack causing the
filesystem to shutdown itself down.

Instead I propose that we simply leave the nexus in a paused state, allowing the initiator to
start the re-connection cycle, giving us some “time” to recreate the nexus again when the
replica is available again.

todo: we might want to add a time-limit after which we resort to failing IOs?

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

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 14, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 5e08424 into release/1.0 Jun 14, 2023
@bors bors bot deleted the xfs-shutdown branch June 14, 2023 01:32
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.

4 participants