mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
use bucket in path in distribution hash (#11634)
Use bucket in erasure distribution hash. For the rare cases where objects with the same names are uploaded to many buckets.
This commit is contained in:
1 parent
a8e4f64ff3
commit
85620dfe93
2 files changed
+2
-2
No files matched your search
@@ -654,7 +654,7 @@ func (er erasureObjects) putObject(ctx context.Context, bucket string, object st
|
||||
// Initialize parts metadata
|
||||
partsMetadata := make([]FileInfo, len(storageDisks))
|
||||
|
||||
fi := newFileInfo(object, dataDrives, parityDrives)
|
||||
fi := newFileInfo(pathJoin(bucket, object), dataDrives, parityDrives)
|
||||
|
||||
if opts.Versioned {
|
||||
fi.VersionID = opts.VersionID
|
||||
|
||||
Reference in new issue
Block a user