Browse Source

add missing error in the log

related to https://github.com/seaweedfs/seaweedfs/issues/5084
pull/5090/head
chrislu 1 year ago
parent
commit
5fe4c04a1a
  1. 2
      weed/server/filer_server.go

2
weed/server/filer_server.go

@ -171,7 +171,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
if isFresh { if isFresh {
glog.V(0).Infof("%s bootstrap from peers %+v", option.Host, existingNodes) glog.V(0).Infof("%s bootstrap from peers %+v", option.Host, existingNodes)
if err := fs.filer.MaybeBootstrapFromPeers(option.Host, existingNodes, startFromTime); err != nil { if err := fs.filer.MaybeBootstrapFromPeers(option.Host, existingNodes, startFromTime); err != nil {
glog.Fatalf("%s bootstrap from %+v", option.Host, existingNodes)
glog.Fatalf("%s bootstrap from %+v: %v", option.Host, existingNodes, err)
} }
} }
fs.filer.AggregateFromPeers(option.Host, existingNodes, startFromTime) fs.filer.AggregateFromPeers(option.Host, existingNodes, startFromTime)

Loading…
Cancel
Save