mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
remove uploading stated from volume server.
This commit is contained in:
parent
e67afa8715
commit
df78466a12
|
@ -35,7 +35,6 @@ func NewVolumeServer(r *http.ServeMux, ip string, port int, publicIp string, fol
|
||||||
}
|
}
|
||||||
vs.store = storage.NewStore(port, ip, publicUrl, folders, maxCounts)
|
vs.store = storage.NewStore(port, ip, publicUrl, folders, maxCounts)
|
||||||
|
|
||||||
r.HandleFunc("/submit", secure(vs.whiteList, vs.submitFromVolumeServerHandler))
|
|
||||||
r.HandleFunc("/status", secure(vs.whiteList, vs.statusHandler))
|
r.HandleFunc("/status", secure(vs.whiteList, vs.statusHandler))
|
||||||
r.HandleFunc("/admin/assign_volume", secure(vs.whiteList, vs.assignVolumeHandler))
|
r.HandleFunc("/admin/assign_volume", secure(vs.whiteList, vs.assignVolumeHandler))
|
||||||
r.HandleFunc("/admin/vacuum_volume_check", secure(vs.whiteList, vs.vacuumVolumeCheckHandler))
|
r.HandleFunc("/admin/vacuum_volume_check", secure(vs.whiteList, vs.vacuumVolumeCheckHandler))
|
||||||
|
|
|
@ -50,10 +50,6 @@ func (vs *VolumeServer) freezeVolumeHandler(w http.ResponseWriter, r *http.Reque
|
||||||
glog.V(2).Infoln("freeze volume =", r.FormValue("volume"), ", error =", err)
|
glog.V(2).Infoln("freeze volume =", r.FormValue("volume"), ", error =", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (vs *VolumeServer) submitFromVolumeServerHandler(w http.ResponseWriter, r *http.Request) {
|
|
||||||
submitForClientHandler(w, r, vs.masterNode)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (vs *VolumeServer) statsDiskHandler(w http.ResponseWriter, r *http.Request) {
|
func (vs *VolumeServer) statsDiskHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
m := make(map[string]interface{})
|
m := make(map[string]interface{})
|
||||||
m["Version"] = util.VERSION
|
m["Version"] = util.VERSION
|
||||||
|
|
Loading…
Reference in a new issue