Skip to content

[nexus] Add Physical Disk Policy, State#5335

Merged
smklein merged 93 commits into
mainfrom
disk-state-policy
Mar 29, 2024
Merged

[nexus] Add Physical Disk Policy, State#5335
smklein merged 93 commits into
mainfrom
disk-state-policy

Conversation

@smklein

@smklein smklein commented Mar 26, 2024

Copy link
Copy Markdown
Collaborator
  • 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

@jmpesp jmpesp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀

Comment thread schema/crdb/dbinit.sql Outdated
Comment thread schema/crdb/physical-disk-state-and-policy/up03.sql Outdated
@smklein smklein marked this pull request as ready for review March 27, 2024 18:48
@smklein

smklein commented Mar 27, 2024

Copy link
Copy Markdown
Collaborator Author

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
@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