rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping

This commit is contained in:
Konstantin Lebedev
2022-08-01 12:51:41 +05:00
parent c88ea31f62
commit a98f6d66a3
2 changed files with 13 additions and 99 deletions

View File

@@ -102,7 +102,7 @@ func (ma *MetaAggregator) loopSubscribeToOneFiler(f *Filer, self pb.ServerAddres
if err != nil {
errLvl := glog.Level(0)
if strings.Contains(err.Error(), "duplicated local subscription detected") {
errLvl = glog.Level(1)
errLvl = glog.Level(4)
}
glog.V(errLvl).Infof("subscribing remote %s meta change: %v", peer, err)
}