log message adds server name
address https://github.com/chrislusf/seaweedfs/issues/2514#issuecomment-995925733
This commit is contained in:
@@ -206,7 +206,7 @@ func (t *Topology) RegisterVolumeLayout(v storage.VolumeInfo, dn *DataNode) {
|
|||||||
vl.EnsureCorrectWritables(&v)
|
vl.EnsureCorrectWritables(&v)
|
||||||
}
|
}
|
||||||
func (t *Topology) UnRegisterVolumeLayout(v storage.VolumeInfo, dn *DataNode) {
|
func (t *Topology) UnRegisterVolumeLayout(v storage.VolumeInfo, dn *DataNode) {
|
||||||
glog.Infof("removing volume info: %+v", v)
|
glog.Infof("removing volume info: %+v from %v", v, dn.id)
|
||||||
diskType := types.ToDiskType(v.DiskType)
|
diskType := types.ToDiskType(v.DiskType)
|
||||||
volumeLayout := t.GetVolumeLayout(v.Collection, v.ReplicaPlacement, v.Ttl, diskType)
|
volumeLayout := t.GetVolumeLayout(v.Collection, v.ReplicaPlacement, v.Ttl, diskType)
|
||||||
volumeLayout.UnRegisterVolume(&v, dn)
|
volumeLayout.UnRegisterVolume(&v, dn)
|
||||||
|
|||||||
Reference in New Issue
Block a user