mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
cleanup stale parent multipart directories (#15980)
This commit is contained in:
1 parent
4fb47cd568
commit
fd6f6fc8df
4 files changed
+7
-21
No files matched your search
@@ -1072,7 +1072,7 @@ func (er erasureObjects) putObject(ctx context.Context, bucket string, object st
|
||||
var online int
|
||||
defer func() {
|
||||
if online != len(onlineDisks) {
|
||||
er.renameAll(context.Background(), minioMetaTmpBucket, tempObj)
|
||||
er.deleteAll(context.Background(), minioMetaTmpBucket, tempObj)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in new issue
Block a user