diff options
| author | Chris Lu <chris.lu@gmail.com> | 2017-01-10 01:30:00 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2017-01-10 01:30:00 -0800 |
| commit | e767c3ea4fd04a9cb01ec6698b4582663bd98bb6 (patch) | |
| tree | bf92ed8bc20941bea0f0fef051b40844f86f82c3 /weed/topology | |
| parent | e46c3415f752e2e0c252c420adb882c4bcb7416b (diff) | |
| download | seaweedfs-e767c3ea4fd04a9cb01ec6698b4582663bd98bb6.tar.xz seaweedfs-e767c3ea4fd04a9cb01ec6698b4582663bd98bb6.zip | |
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
Diffstat (limited to 'weed/topology')
| -rw-r--r-- | weed/topology/node.go | 2 | ||||
| -rw-r--r-- | weed/topology/topology_event_handling.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/node.go b/weed/topology/node.go index 7383f9576..206a9aff4 100644 --- a/weed/topology/node.go +++ b/weed/topology/node.go @@ -234,7 +234,7 @@ func (n *NodeImpl) UnlinkChildNode(nodeId NodeId) { n.UpAdjustVolumeCountDelta(-node.GetVolumeCount()) n.UpAdjustActiveVolumeCountDelta(-node.GetActiveVolumeCount()) n.UpAdjustMaxVolumeCountDelta(-node.GetMaxVolumeCount()) - glog.V(0).Infoln(n, "removes", node, "volumeCount =", n.activeVolumeCount) + glog.V(0).Infoln(n, "removes", node.Id()) } } diff --git a/weed/topology/topology_event_handling.go b/weed/topology/topology_event_handling.go index 40019fdcd..e2dcfca06 100644 --- a/weed/topology/topology_event_handling.go +++ b/weed/topology/topology_event_handling.go @@ -49,7 +49,7 @@ func (t *Topology) SetVolumeCapacityFull(volumeInfo storage.VolumeInfo) bool { } func (t *Topology) UnRegisterDataNode(dn *DataNode) { for _, v := range dn.GetVolumes() { - glog.V(0).Infoln("Removing Volume", v.Id, "from the dead volume server", dn) + glog.V(0).Infoln("Removing Volume", v.Id, "from the dead volume server", dn.Id()) vl := t.GetVolumeLayout(v.Collection, v.ReplicaPlacement, v.Ttl) vl.SetVolumeUnavailable(dn, v.Id) } |
