Browse Source

mount: fatal error if can not process meta data

pull/1388/head
Chris Lu 5 years ago
parent
commit
2d1df97933
  1. 4
      weed/filesys/meta_cache/meta_cache_subscribe.go

4
weed/filesys/meta_cache/meta_cache_subscribe.go

@ -56,13 +56,13 @@ func SubscribeMetaEvents(mc *MetaCache, client filer_pb.FilerClient, dir string,
} }
if err := processEventFn(resp); err != nil { if err := processEventFn(resp); err != nil {
return fmt.Errorf("process %v: %v", resp, err)
glog.Fatalf("process %v: %v", resp, err)
} }
lastTsNs = resp.TsNs lastTsNs = resp.TsNs
} }
}) })
if err != nil { if err != nil {
glog.V(0).Infof("subscribing filer meta change: %v", err)
glog.Errorf("subscribing filer meta change: %v", err)
time.Sleep(time.Second) time.Sleep(time.Second)
} }
} }

Loading…
Cancel
Save