-
Notifications
You must be signed in to change notification settings - Fork 74
Expunge and Decommission disks in planner #7286
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
Merged
andrewjstone
merged 38 commits into
main
from
expunge-and-decommission-disks-in-planner
Feb 22, 2025
Merged
Changes from 28 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
900319b
WIP: Expunge and Decommission disks in planner
andrewjstone a78777c
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 34e1215
planner tests run again
andrewjstone 31f19c6
Filter disks for blippy
andrewjstone 14e3d35
Show disposition and state for disks tables
andrewjstone af64c4c
update some expected disk output
andrewjstone 5f46bd1
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 8af63fc
fix build
andrewjstone 953657e
Fix planner tests
andrewjstone 5178c08
allow execution steps to fail - still need to fix expunge/decommissio…
andrewjstone fb4b45f
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 89596c1
Decommission disks based on blueprint
andrewjstone f479f29
decommission sleds properly
andrewjstone e1b7fb1
remove stale code
andrewjstone 9825039
fix planner bug
andrewjstone 729723c
planner tests pass again
andrewjstone 816a5e4
schema metadata
andrewjstone 22f9f63
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone de4a080
review fixes
andrewjstone 1822a2b
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 7be692d
Use expunged disposition fields rather than state
andrewjstone 01cbf78
self review fixes
andrewjstone e2e2cd5
schema migration
andrewjstone a718ce4
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 7d67be7
expectorate
andrewjstone 9ca1a2d
Make `physical_disk_decommission` idempotent
andrewjstone 55a65f8
review fixes
andrewjstone b209435
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 2531105
Review fixes
andrewjstone 4bb5048
fix tests
andrewjstone f256467
Fix disk diffs
andrewjstone a65ac3b
fix typo
andrewjstone c9b4441
remove a4x2 detritus
andrewjstone a46493a
sort modified disks in diffs
andrewjstone ec69035
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone 7ab7957
cargo fmt
andrewjstone 1b5a681
clippy
andrewjstone 7999177
Merge branch 'main' into expunge-and-decommission-disks-in-planner
andrewjstone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions:
time_modifiedif called on one disk multiple times? (Do we need to filter on thedisk_statetoo?)Ok(()), right?) If not, maybe note in the doc comment that this is a no-op if the disk is already decommissioned?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump on these questions
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh, great catch. Sorry for not replying earlier. You are correct here. I added a filter for the
disk_statealso which should prevent thetime_modifiedbump in 9ca1a2d.I also went ahead and added a comment since callers should not care if the disk was actually decommissioned.