Skip to content

Commit

Permalink
[sled agent] Deprecate the old service format (#5922)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smklein authored Jun 21, 2024
1 parent 15dd022 commit 964f6eb
Show file tree
Hide file tree
Showing 89 changed files with 35 additions and 9,513 deletions.
801 changes: 0 additions & 801 deletions schema/all-zone-requests.json

This file was deleted.

80 changes: 0 additions & 80 deletions sled-agent/src/bin/services-ledger-check-migrate.rs

This file was deleted.

1 change: 0 additions & 1 deletion sled-agent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ mod profile;
pub mod rack_setup;
pub mod server;
pub mod services;
pub mod services_migration;
mod sled_agent;
mod smf_helper;
mod storage_monitor;
Expand Down
Loading

0 comments on commit 964f6eb

Please sign in to comment.