mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
fs/multipart: Append multipart parts in a proper Go routine in background. (#3282)
This commit is contained in:
committed by
Harshavardhana
parent
38537c7df2
commit
afa4c7c3ef
@@ -37,6 +37,9 @@ type fsObjects struct {
|
||||
|
||||
// List pool management.
|
||||
listPool *treeWalkPool
|
||||
|
||||
// To manage the appendRoutine go0routines
|
||||
bgAppend *backgroundAppend
|
||||
}
|
||||
|
||||
// list of all errors that can be ignored in tree walk operation in FS
|
||||
@@ -61,6 +64,9 @@ func newFSObjects(storage StorageAPI) (ObjectLayer, error) {
|
||||
fs := fsObjects{
|
||||
storage: storage,
|
||||
listPool: newTreeWalkPool(globalLookupTimeout),
|
||||
bgAppend: &backgroundAppend{
|
||||
infoMap: make(map[string]bgAppendPartsInfo),
|
||||
},
|
||||
}
|
||||
|
||||
// Return successfully initialized object layer.
|
||||
|
||||
Reference in New Issue
Block a user