returen chunks file size when delete a chunkmanifest

This commit is contained in:
tnextday 2015-12-02 21:35:50 +08:00
parent 662915e691
commit 34963de458

View file

@ -76,6 +76,7 @@ func (vs *VolumeServer) DeleteHandler(w http.ResponseWriter, r *http.Request) {
writeJsonError(w, r, http.StatusInternalServerError, errors.New("Delete chunks error: " + e.Error()))
return
}
count = chunkManifest.Size
}
ret := topology.ReplicatedDelete(vs.GetMasterNode(), vs.store, volumeId, n, r)