Skip to content

Commit 71bca2a

Browse files
smkleiniliana
authored andcommitted
[sled agent] Deprecate the old service format (#5922)
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.
1 parent aca90d8 commit 71bca2a

File tree

89 files changed

+35
-9513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+35
-9513
lines changed

schema/all-zone-requests.json

Lines changed: 0 additions & 801 deletions
This file was deleted.

sled-agent/src/bin/services-ledger-check-migrate.rs

Lines changed: 0 additions & 80 deletions
This file was deleted.

sled-agent/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ mod profile;
3333
pub mod rack_setup;
3434
pub mod server;
3535
pub mod services;
36-
pub mod services_migration;
3736
mod sled_agent;
3837
mod smf_helper;
3938
mod storage_monitor;

0 commit comments

Comments
 (0)