mirror of
https://github.com/pgsty/minio.git
synced 2026-10-06 09:45:58 +03:00
further bootstrap/startup optimization for reading 'format.json' (#18868)
- Move RenameFile to websockets - Move ReadAll that is primarily is used for reading 'format.json' to to websockets - Optimize DiskInfo calls, and provide a way to make a NoOp DiskInfo call.
This commit is contained in:
@@ -56,6 +56,8 @@ const (
|
||||
HandlerWriteMetadata
|
||||
HandlerCheckParts
|
||||
HandlerRenameData
|
||||
HandlerRenameFile
|
||||
HandlerReadAll
|
||||
|
||||
HandlerServerVerify
|
||||
// Add more above here ^^^
|
||||
@@ -87,6 +89,8 @@ var handlerPrefixes = [handlerLast]string{
|
||||
HandlerWriteMetadata: storagePrefix,
|
||||
HandlerCheckParts: storagePrefix,
|
||||
HandlerRenameData: storagePrefix,
|
||||
HandlerRenameFile: storagePrefix,
|
||||
HandlerReadAll: storagePrefix,
|
||||
HandlerServerVerify: bootstrapPrefix,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user