Add multipart uploads cache for ListMultipartUploads() (#20407)

this cache will be honored only when `prefix=""` while
performing ListMultipartUploads() operation.

This is mainly to satisfy applications like alluxio
for their underfs implementation and tests.

replaces https://github.com/minio/minio/pull/20181
This commit is contained in:
Harshavardhana
2024-09-09 09:58:30 -07:00
committed by GitHub
parent b1c849bedc
commit 8c9ab85cfa
7 changed files with 148 additions and 11 deletions
+2
View File
@@ -114,6 +114,7 @@ const (
HandlerRenameData2
HandlerCheckParts2
HandlerRenamePart
HandlerClearUploadID
// Add more above here ^^^
// If all handlers are used, the type of Handler can be changed.
@@ -196,6 +197,7 @@ var handlerPrefixes = [handlerLast]string{
HandlerRenameData2: storagePrefix,
HandlerCheckParts2: storagePrefix,
HandlerRenamePart: storagePrefix,
HandlerClearUploadID: peerPrefix,
}
const (