mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05: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:
@@ -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