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.
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
Expunge and Decommission disks in planner #7286
Expunge and Decommission disks in planner #7286
Changes from 22 commits
900319b
a78777c
34e1215
31f19c6
14e3d35
af64c4c
5f46bd1
8af63fc
953657e
5178c08
fb4b45f
89596c1
f479f29
e1b7fb1
9825039
729723c
816a5e4
22f9f63
de4a080
1822a2b
7be692d
01cbf78
e2e2cd5
a718ce4
7d67be7
9ca1a2d
55a65f8
b209435
2531105
4bb5048
f256467
a65ac3b
c9b4441
a46493a
ec69035
7ab7957
1b5a681
7999177
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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_modified
if called on one disk multiple times? (Do we need to filter on thedisk_state
too?)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
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_state
also which should prevent thetime_modified
bump in 9ca1a2d.I also went ahead and added a comment since callers should not care if the disk was actually decommissioned.