mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-05-04 05:27:48 +08:00
volume:fix return if Replicate write error (#4188)
This commit is contained in:
parent
39be630242
commit
d5f77706a8
@ -48,6 +48,7 @@ func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
isUnchanged, writeError := topology.ReplicatedWrite(vs.GetMaster, vs.grpcDialOption, vs.store, volumeId, reqNeedle, r, contentMd5)
|
isUnchanged, writeError := topology.ReplicatedWrite(vs.GetMaster, vs.grpcDialOption, vs.store, volumeId, reqNeedle, r, contentMd5)
|
||||||
if writeError != nil {
|
if writeError != nil {
|
||||||
writeJsonError(w, r, http.StatusInternalServerError, writeError)
|
writeJsonError(w, r, http.StatusInternalServerError, writeError)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// http 204 status code does not allow body
|
// http 204 status code does not allow body
|
||||||
|
Loading…
Reference in New Issue
Block a user