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

[nexus] Add Physical Disk Policy, State #5335

Merged
merged 93 commits into from
Mar 29, 2024
Merged

[nexus] Add Physical Disk Policy, State #5335

merged 93 commits into from
Mar 29, 2024

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Mar 26, 2024

  • Adds physical disk state, policy as defined in RFD 457
  • Does not expose any way to modify this information
  • In the future, these values will toggled by both sled expungement, and explicitly through a physical disk API

Fixes #5153

Copy link
Contributor

@jmpesp jmpesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

schema/crdb/dbinit.sql Outdated Show resolved Hide resolved
@smklein smklein marked this pull request as ready for review March 27, 2024 18:48
@smklein
Copy link
Collaborator Author

smklein commented Mar 27, 2024

As an FYI, I added f3e85c5 , which addresses the review comments, but also:

  • Checks for state / policy during region allocation
  • Adds a test that only the "active / in-service" disks are used for region allocation

Base automatically changed from sled-agent-api-to-manage-phys-disks to main March 29, 2024 02:40
@smklein smklein enabled auto-merge (squash) March 29, 2024 02:41
@smklein smklein merged commit e762510 into main Mar 29, 2024
21 checks passed
@smklein smklein deleted the disk-state-policy branch March 29, 2024 04:05
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.

Add notion of physical disk "policy" and "state" to physical disks in the control plane
3 participants