mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: remove chunk manifest file support
This is not needed for filer
This commit is contained in:
parent
1dc30214cb
commit
e04c1a1361
|
@ -113,17 +113,6 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
glog.V(4).Infof("write %s to %v", r.URL.Path, urlLocation)
|
glog.V(4).Infof("write %s to %v", r.URL.Path, urlLocation)
|
||||||
|
|
||||||
u, _ := url.Parse(urlLocation)
|
u, _ := url.Parse(urlLocation)
|
||||||
|
|
||||||
// This allows a client to generate a chunk manifest and submit it to the filer -- it is a little off
|
|
||||||
// because they need to provide FIDs instead of file paths...
|
|
||||||
cm, _ := strconv.ParseBool(query.Get("cm"))
|
|
||||||
if cm {
|
|
||||||
q := u.Query()
|
|
||||||
q.Set("cm", "true")
|
|
||||||
u.RawQuery = q.Encode()
|
|
||||||
}
|
|
||||||
glog.V(4).Infoln("post to", u)
|
|
||||||
|
|
||||||
ret, err := fs.uploadToVolumeServer(r, u, auth, w, fileId)
|
ret, err := fs.uploadToVolumeServer(r, u, auth, w, fileId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue