mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
remove unused logic
This commit is contained in:
parent
685643d506
commit
48cca4e54f
|
@ -141,7 +141,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
|
|||
vs.inFlightDownloadDataLimitCond.Signal()
|
||||
}()
|
||||
|
||||
if err != nil && err != storage.ErrorDeleted && r.FormValue("type") != "replicate" && hasVolume {
|
||||
if err != nil && err != storage.ErrorDeleted && hasVolume {
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue