cleanup stale parent multipart directories (#15980)

This commit is contained in:
Harshavardhana
2022-11-01 08:00:02 -07:00
committed by GitHub
parent 4fb47cd568
commit fd6f6fc8df
4 changed files with 7 additions and 21 deletions

View File

@@ -622,7 +622,7 @@ func (er erasureObjects) healObject(ctx context.Context, bucket string, object s
}
defer er.renameAll(context.Background(), minioMetaTmpBucket, tmpID)
defer er.deleteAll(context.Background(), minioMetaTmpBucket, tmpID)
// Rename from tmp location to the actual location.
for i, disk := range outDatedDisks {