mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
allow concurrent aborts on active uploadParts() (#21229)
allow aborting on active uploads in progress, however fail these uploads subsequently during commit phase and return appropriate errors
This commit is contained in:
@@ -760,7 +760,7 @@ func (client *storageRESTClient) DeleteVersions(ctx context.Context, volume stri
|
||||
}
|
||||
|
||||
// RenamePart - renames multipart part file
|
||||
func (client *storageRESTClient) RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte) (err error) {
|
||||
func (client *storageRESTClient) RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte, skipParent string) (err error) {
|
||||
ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
|
||||
defer cancel()
|
||||
|
||||
@@ -771,6 +771,7 @@ func (client *storageRESTClient) RenamePart(ctx context.Context, srcVolume, srcP
|
||||
DstVolume: dstVolume,
|
||||
DstFilePath: dstPath,
|
||||
Meta: meta,
|
||||
SkipParent: skipParent,
|
||||
})
|
||||
return toStorageErr(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user