diff --git a/go/weed/weed_server/volume_server_handlers_write.go b/go/weed/weed_server/volume_server_handlers_write.go index 911ed96fa..9aa998c3c 100644 --- a/go/weed/weed_server/volume_server_handlers_write.go +++ b/go/weed/weed_server/volume_server_handlers_write.go @@ -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)