aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/rack.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/topology/rack.go')
-rw-r--r--weed/topology/rack.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/weed/topology/rack.go b/weed/topology/rack.go
index 1ca2f8de8..a48d64323 100644
--- a/weed/topology/rack.go
+++ b/weed/topology/rack.go
@@ -32,11 +32,6 @@ func (r *Rack) GetOrCreateDataNode(ip string, port int, publicUrl string, maxVol
dn := c.(*DataNode)
if dn.MatchLocation(ip, port) {
dn.LastSeen = time.Now().Unix()
- if dn.Dead {
- dn.Dead = false
- r.GetTopology().chanRecoveredDataNodes <- dn
- dn.UpAdjustMaxVolumeCountDelta(maxVolumeCount - dn.maxVolumeCount)
- }
return dn
}
}