mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust log
This commit is contained in:
parent
b456173eb8
commit
96d2f11f81
|
@ -33,10 +33,10 @@ func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) {
|
||||||
t.SetVolumeCapacityFull(v)
|
t.SetVolumeCapacityFull(v)
|
||||||
case dn := <-t.chanRecoveredDataNodes:
|
case dn := <-t.chanRecoveredDataNodes:
|
||||||
t.RegisterRecoveredDataNode(dn)
|
t.RegisterRecoveredDataNode(dn)
|
||||||
glog.V(0).Infoln("DataNode", dn, "is back alive!")
|
glog.V(0).Infoln("Recovered DataNode: %v", dn)
|
||||||
case dn := <-t.chanDeadDataNodes:
|
case dn := <-t.chanDeadDataNodes:
|
||||||
t.UnRegisterDataNode(dn)
|
t.UnRegisterDataNode(dn)
|
||||||
glog.V(0).Infoln("DataNode", dn, "is dead!")
|
glog.V(0).Infof("Dead DataNode: %v", dn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in a new issue