aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/node.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-08-30 14:52:07 -0700
committerchrislu <chris.lu@gmail.com>2024-08-30 14:52:07 -0700
commit654b8210f7f26ff8afbadcb7a3f93b1b6e0662ec (patch)
tree06ebf43043f7806a8c80dd5853ec9d265dce077c /weed/topology/node.go
parent8679870008ed03723cf687d951d9268d7b535dbf (diff)
downloadseaweedfs-654b8210f7f26ff8afbadcb7a3f93b1b6e0662ec.tar.xz
seaweedfs-654b8210f7f26ff8afbadcb7a3f93b1b6e0662ec.zip
parameter name
Diffstat (limited to 'weed/topology/node.go')
-rw-r--r--weed/topology/node.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/node.go b/weed/topology/node.go
index 7e443533f..d33bbce2b 100644
--- a/weed/topology/node.go
+++ b/weed/topology/node.go
@@ -263,7 +263,7 @@ func (n *NodeImpl) UnlinkChildNode(nodeId NodeId) {
}
}
-func (n *NodeImpl) CollectDeadNodeAndFullVolumes(freshThreshHold int64, volumeSizeLimit uint64, growThreshold float64) {
+func (n *NodeImpl) CollectDeadNodeAndFullVolumes(freshThreshHoldUnixTime int64, volumeSizeLimit uint64, growThreshold float64) {
if n.IsRack() {
for _, c := range n.Children() {
dn := c.(*DataNode) //can not cast n to DataNode
@@ -299,7 +299,7 @@ func (n *NodeImpl) CollectDeadNodeAndFullVolumes(freshThreshHold int64, volumeSi
}
} else {
for _, c := range n.Children() {
- c.CollectDeadNodeAndFullVolumes(freshThreshHold, volumeSizeLimit, growThreshold)
+ c.CollectDeadNodeAndFullVolumes(freshThreshHoldUnixTime, volumeSizeLimit, growThreshold)
}
}
}