refactor(ecstore): make replication facade explicit (#4139)

This commit is contained in:
Zhengchao An
2026-07-01 18:54:05 +08:00
committed by GitHub
parent fc806679fb
commit e5ab6ee8e4
5 changed files with 37 additions and 10 deletions
@@ -121,7 +121,9 @@ Current coupling:
- modules inside `bucket/replication` use local relative paths rather than the
ECStore owner path for replication self-imports;
- replication runtime source access uses storage/bandwidth boundary aliases for
ECStore object store and bucket monitor implementation types.
ECStore object store and bucket monitor implementation types;
- the ECStore replication facade in `mod.rs` uses explicit compatibility
exports instead of wildcard re-exports from implementation modules.
Required contracts before crate movement:
@@ -174,6 +176,9 @@ Required contracts before crate movement:
- `ReplicationScannerBridge`: scanner-originated replication heal scheduling is
exposed through the contract type in
`crates/ecstore/src/bucket/replication/replication_scanner_bridge.rs`.
- `ReplicationFacade`: the current `rustfs_ecstore::api::bucket::replication`
compatibility surface is an explicit symbol list guarded against wildcard
re-exports while downstream owners migrate to narrower contracts.
First safe PR: