Skip to content

Conversation

@smklein
Copy link
Collaborator

@smklein smklein commented Jun 20, 2024

This portion of the Sled Agent was added in #4466, migrating an old "services" ledger into a new, zones-oriented format.

This code served as a bridge between old and new format, but maintaining backwards compatibility here is a burden
for modifying the zone format further.

Specifically: in #5050 , which attempts to add the notion of "transient zone filesystem zpool" to the request from Nexus, the translation of "old format -> new format" is no longer possible without additional information about "where should the transient zone filesystem be placed".

Given that this conversion has been deployed for multiple months - across releases - I figured it would be easier to remove the old support, rather than making another bridge for old code compatibility.

@smklein smklein added Sled Agent Related to the Per-Sled Configuration and Management cleanup Code cleanliness labels Jun 20, 2024
Copy link
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

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

🥳

@smklein smklein enabled auto-merge (squash) June 21, 2024 18:42
@smklein smklein merged commit 964f6eb into main Jun 21, 2024
@smklein smklein deleted the deprecate-services-migration branch June 21, 2024 19:25
iliana pushed a commit that referenced this pull request Jun 21, 2024
This portion of the Sled Agent was added in
#4466, migrating an old
"services" ledger into a new, zones-oriented format.

This code served as a bridge between old and new format, but maintaining
backwards compatibility here is a burden
for modifying the zone format further.

Specifically: in #5050 ,
which attempts to add the notion of "transient zone filesystem zpool" to
the request from Nexus, the translation of "old format -> new format" is
no longer possible without additional information about "where should
the transient zone filesystem be placed".

Given that this conversion has been deployed for multiple months -
across releases - I figured it would be easier to remove the old
support, rather than making another bridge for old code compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code cleanliness Sled Agent Related to the Per-Sled Configuration and Management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants