From 2fa9a433ad30eb71567eb5c5c55ccc3c674fb2ba Mon Sep 17 00:00:00 2001 From: overtrue Date: Sun, 25 Oct 2026 20:46:28 +0800 Subject: [PATCH] fix(ecstore): compare multipart metadata keys in commit scope --- crates/ecstore/src/disk/local/commit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ecstore/src/disk/local/commit.rs b/crates/ecstore/src/disk/local/commit.rs index aa0df9b26..ad1740b13 100644 --- a/crates/ecstore/src/disk/local/commit.rs +++ b/crates/ecstore/src/disk/local/commit.rs @@ -713,7 +713,7 @@ impl LocalDisk { if preserve_upload_metadata { let source_object_path = self.get_object_path(src_volume, src_path)?; - let authority_owner: Arc = if source_object_path == root_destination_object_path { + let authority_owner: Arc = if source_object_path == self.get_object_path(dst_volume, dst_path)? { commit.mutation_lease.clone() } else { os::try_acquire_metadata_mutation_lease_with_owner(&source_object_path, commit.mutation_lease.clone())?