SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
filer: return http status 499 for client closed connection
Chris Lub789767cd105
diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.goindex 0f6d0dc47c..82c6c11b4f 100644--- a/weed/server/filer_server_handlers_write_autochunk.go+++ b/weed/server/filer_server_handlers_write_autochunk.go@@ -57,7 +57,11 @@ func (fs *FilerServer) autoChunk(ctx context.Context, w http.ResponseWriter, r *reply, md5bytes, err = fs.doPutAutoChunk(ctx, w, r, chunkSize, so)}if err != nil {- writeJsonError(w, r, http.StatusInternalServerError, err)+ if strings.HasPrefix(err.Error(), "read input:") {+ writeJsonError(w, r, 499, err)+ } else {+ writeJsonError(w, r, http.StatusInternalServerError, err)+ }} else if reply != nil {if len(md5bytes) > 0 {w.Header().Set("Content-MD5", util.Base64Encode(md5bytes))