mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-05 19:55:37 +00:00
4dd88becec
PR #7166 (refactor to isolate local object rename commit) extracted rename_data_inner, rename_data_observed, and LocalRenamePreflightRejection into disk/local/commit.rs. PR #7163 (drain control writes) was based on code before the refactor and re-added the same definitions to local.rs, causing 27 compilation errors (duplicate struct/method definitions and unresolved helper symbols). Remove the duplicate block (997 lines) from local.rs; the canonical definitions in commit.rs are already imported via the module re-export. Also fix 4 clippy warnings introduced by upstream: - shared.rs: redundant guard pattern → direct pattern match - tests.rs: needless struct update, needless borrow, cloned_ref_to_slice_refs