Browse Source

Merge pull request #2744 from kmlebedev/issues_2545

avoid connect to the old filler address
pull/2827/head
Chris Lu 3 years ago
committed by GitHub
parent
commit
3153c836a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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