mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Remove deadcode related to multipart cleanup for fs (#5716)
The cleanup code is no longer needed as we moved to lockfree multipart backend for fs
This commit is contained in:
parent
5a7ab7b06e
commit
af024a9c69
@ -345,12 +345,6 @@ func (fs *FSObjects) DeleteBucket(ctx context.Context, bucket string) error {
|
||||
return toObjectErr(err, bucket)
|
||||
}
|
||||
|
||||
// Cleanup all the previously incomplete multiparts.
|
||||
minioMetaMultipartBucketDir := pathJoin(fs.fsPath, minioMetaMultipartBucket, bucket)
|
||||
if err = fsRemoveAll(minioMetaMultipartBucketDir); err != nil {
|
||||
return toObjectErr(err, bucket)
|
||||
}
|
||||
|
||||
// Cleanup all the bucket metadata.
|
||||
minioMetadataBucketDir := pathJoin(fs.fsPath, minioMetaBucket, bucketMetaPrefix, bucket)
|
||||
if err = fsRemoveAll(minioMetadataBucketDir); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user