fix: multi-delete API write quorum failures (#8926)

multi-delete API failed with write quorum errors
under following situations

- list of files requested for delete doesn't exist
  anymore can lead to quorum errors and failure
- due to usage of query param for paths, for really
  long paths MinIO server rejects these requests as
  malformed as unexpected.

This was reproduced with warp
This commit is contained in:
Harshavardhana
2020-02-02 07:41:29 +05:30
committed by GitHub
parent 7432b5c9b2
commit 7ce63b3078
4 changed files with 27 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
package cmd
const (
storageRESTVersion = "v13" // Introduced StorageErr error type.
storageRESTVersion = "v14" // DeleteFileBulk API change
storageRESTVersionPrefix = SlashSeparator + storageRESTVersion
storageRESTPrefix = minioReservedBucketPath + "/storage"
)