Browse Source

avoid connect to the old filler address

https://github.com/chrislusf/seaweedfs/issues/2545
pull/2744/head
Konstantin Lebedev 3 years ago
parent
commit
834210a9dc
  1. 3
      weed/filer/meta_aggregator.go

3
weed/filer/meta_aggregator.go

@ -76,9 +76,6 @@ func (ma *MetaAggregator) setActive(address pb.ServerAddress, isActive bool) (no
}
} else {
if _, found := ma.peerStatues[address]; found {
ma.peerStatues[address] -= 1
}
if ma.peerStatues[address] <= 0 {
delete(ma.peerStatues, address)
}
}

Loading…
Cancel
Save