1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-15 15:11:00 +02:00

filer: remove chunk manifest file support

This is not needed for filer
This commit is contained in:
Chris Lu 2020-03-08 17:03:27 -07:00
parent 1dc30214cb
commit e04c1a1361

View file

@ -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)
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)
if err != nil {
return