mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix logging
This commit is contained in:
parent
8676db0f6a
commit
e1a8e3f900
|
@ -94,7 +94,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
|
||||||
count, err = vs.store.ReadEcShardNeedle(volumeId, n)
|
count, err = vs.store.ReadEcShardNeedle(volumeId, n)
|
||||||
}
|
}
|
||||||
if err != nil && err != storage.ErrorDeleted && r.FormValue("type") != "replicate" && hasVolume {
|
if err != nil && err != storage.ErrorDeleted && r.FormValue("type") != "replicate" && hasVolume {
|
||||||
glog.V(4).Infoln("read needle: %v", err)
|
glog.V(4).Infof("read needle: %v", err)
|
||||||
// start to fix it from other replicas, if not deleted and hasVolume and is not a replicated request
|
// start to fix it from other replicas, if not deleted and hasVolume and is not a replicated request
|
||||||
}
|
}
|
||||||
// glog.V(4).Infoln("read bytes", count, "error", err)
|
// glog.V(4).Infoln("read bytes", count, "error", err)
|
||||||
|
|
Loading…
Reference in a new issue