Avoid wrong way to delete on replication failure

Avoid wrong way to delete on replication failure. This deletion has bug
to write. The better fix is not to use the deletion on failure at all.
This commit is contained in:
chrislusf
2015-03-09 00:34:26 -07:00
parent 9d8a6d2562
commit 853701cb6b
3 changed files with 7 additions and 11 deletions

View File

@@ -67,7 +67,6 @@ func (vs *VolumeServer) DeleteHandler(w http.ResponseWriter, r *http.Request) {
return
}
n.Size = 0
ret := topology.ReplicatedDelete(vs.GetMasterNode(), vs.store, volumeId, n, r)
if ret != 0 {