mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-22 16:43:35 +08:00
refactor
This commit is contained in:
@@ -164,7 +164,9 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
||||
readonlyMux.HandleFunc("/", fs.readonlyFilerHandler)
|
||||
}
|
||||
|
||||
fs.filer.AggregateFromPeers(option.Host)
|
||||
existingNodes := fs.filer.ListExistingPeerUpdates()
|
||||
|
||||
fs.filer.AggregateFromPeers(option.Host, existingNodes)
|
||||
|
||||
fs.filer.LoadBuckets()
|
||||
|
||||
|
Reference in New Issue
Block a user