Browse Source

Merge branch 'master' of https://github.com/chrislusf/seaweedfs

pull/2827/head
chrislu 3 years ago
parent
commit
86d4c52d6e
  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