refactor: prune root runtime compat re-exports (#3694)

This commit is contained in:
安正超
2026-06-21 18:42:25 +08:00
committed by GitHub
parent 0cf9d07e40
commit 48ed331fc8
6 changed files with 255 additions and 52 deletions
+4
View File
@@ -149,6 +149,10 @@ boundaries that still need module-local owner cleanup.
Root runtime storage config initialization and disk endpoint contracts must also
stay explicit aliases. The root compatibility boundary must not restore `com`,
bare `init`, or grouped `endpoint::Endpoint` passthroughs.
RustFS root `storage_compat.rs` must not re-export ECStore API symbols directly;
remaining root runtime compatibility symbols must be local type aliases,
constants, traits, or wrapper functions so ownership stays visible at the
boundary.
RustFS admin `storage_compat.rs` must expose config IO and default
initialization through explicit aliases. The admin compatibility boundary must
not restore broad `com` or bare `init` passthroughs.