diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-11-23 12:37:09 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-11-23 12:37:09 -0800 |
| commit | 871dee4674378ceeef4b68ebfa64fe1d4441cd29 (patch) | |
| tree | 6f2dc4d2d123d6fdf5a8adef7d94e6b755a91082 | |
| parent | 86dd93359604938e0ed37a4a6c2a82923887df3d (diff) | |
| download | seaweedfs-871dee4674378ceeef4b68ebfa64fe1d4441cd29.tar.xz seaweedfs-871dee4674378ceeef4b68ebfa64fe1d4441cd29.zip | |
fix test
| -rw-r--r-- | weed/topology/volume_layout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go index b6044e29f..33c08e0a5 100644 --- a/weed/topology/volume_layout.go +++ b/weed/topology/volume_layout.go @@ -53,7 +53,7 @@ func (vl *VolumeLayout) RegisterVolume(v *storage.VolumeInfo, dn *DataNode) { vl.vid2location[v.Id] = NewVolumeLocationList() } vl.vid2location[v.Id].Set(dn) - glog.V(4).Infof("volume %d added to %s len %s copy %d", v.Id, dn.Id(), vl.vid2location[v.Id].Length(), v.ReplicaPlacement.GetCopyCount()) + glog.V(4).Infof("volume %d added to %s len %d copy %d", v.Id, dn.Id(), vl.vid2location[v.Id].Length(), v.ReplicaPlacement.GetCopyCount()) for _, dn := range vl.vid2location[v.Id].list { if v_info, err := dn.GetVolumesById(v.Id); err == nil { if v_info.ReadOnly { |
