fix(ecstore): compare multipart metadata keys in commit scope

This commit is contained in:
overtrue
2026-10-25 20:46:28 +08:00
parent 08811ec243
commit 2fa9a433ad
+1 -1
View File
@@ -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<dyn Send + Sync> = if source_object_path == root_destination_object_path {
let authority_owner: Arc<dyn Send + Sync> = 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())?