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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
3 deletions
-
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) |
|
|
|
} |
|
|
|
} |
|
|
|