Browse Source

filer: remove chunk manifest file support

This is not needed for filer
tikv
Chris Lu 5 years ago
parent
commit
e04c1a1361
  1. 11
      weed/server/filer_server_handlers_write.go

11
weed/server/filer_server_handlers_write.go

@ -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

Loading…
Cancel
Save