From 56ce040ab6fd7359e3a573e127cc924d58eebddf Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 15 Mar 2024 21:05:40 -0700 Subject: [PATCH] log errors --- weed/filer/meta_aggregator.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weed/filer/meta_aggregator.go b/weed/filer/meta_aggregator.go index 80a041d4e..663fdfe9f 100644 --- a/weed/filer/meta_aggregator.go +++ b/weed/filer/meta_aggregator.go @@ -188,6 +188,7 @@ func (ma *MetaAggregator) doSubscribeToOneFiler(f *Filer, self pb.ServerAddress, ClientEpoch: atomic.LoadInt32(&ma.filer.UniqueFilerEpoch), }) if err != nil { + glog.V(0).Infof("SubscribeLocalMetadata %v: %v", peer, err) return fmt.Errorf("subscribe: %v", err) } @@ -197,10 +198,12 @@ func (ma *MetaAggregator) doSubscribeToOneFiler(f *Filer, self pb.ServerAddress, return nil } if listenErr != nil { + glog.V(0).Infof("SubscribeLocalMetadata stream %v: %v", peer, listenErr) return listenErr } if err := processEventFn(resp); err != nil { + glog.V(0).Infof("SubscribeLocalMetadata process %v: %v", resp, err) return fmt.Errorf("process %v: %v", resp, err) }