-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nexus] Decommission disks in reconfigurator, clean their DB state (#…
…6059) This PR adds the following step to the reconfigurator's execution step: For all disks that are marked **expunged**, mark them **decommissioned**. This notably happens after the `deploy_disks` step of execution. This PR also adds a background task that looks for all disks that are **decommissioned**, but have **zpools**. It deletes these zpools (and their **datasets**) as long as no regions nor region snapshots are referencing the contained datasets. Fixes #6051
- Loading branch information
Showing
21 changed files
with
1,013 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.