mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03: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