mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
relax pre-emptive GetBucketInfo() for multi-object delete (#19035)
This commit is contained in:
@@ -1085,6 +1085,11 @@ func (s *xlStorage) deleteVersions(ctx context.Context, volume, path string, fis
|
||||
}
|
||||
|
||||
if len(buf) == 0 {
|
||||
if errors.Is(err, errFileNotFound) && !skipAccessChecks(volume) {
|
||||
if aerr := Access(volumeDir); aerr != nil && osIsNotExist(aerr) {
|
||||
return errVolumeNotFound
|
||||
}
|
||||
}
|
||||
return errFileNotFound
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user