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
revert volume etag
Konstantin Lebedev198688c7171b
diff --git a/weed/server/volume_server_handlers_write.go b/weed/server/volume_server_handlers_write.goindex 602b147e15..3d752eda66 100644--- a/weed/server/volume_server_handlers_write.go+++ b/weed/server/volume_server_handlers_write.go@@ -13,7 +13,6 @@ import ("github.com/chrislusf/seaweedfs/weed/stats""github.com/chrislusf/seaweedfs/weed/storage/needle""github.com/chrislusf/seaweedfs/weed/topology"- "github.com/chrislusf/seaweedfs/weed/util")func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) {@@ -68,7 +67,7 @@ func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) {ret.Name = string(reqNeedle.Name)}ret.Size = uint32(originalSize)- ret.ETag = fmt.Sprintf("%x", util.Base64Md5ToBytes(contentMd5))+ ret.ETag = reqNeedle.Etag()ret.Mime = string(reqNeedle.Mime)setEtag(w, ret.ETag)w.Header().Set("Content-MD5", contentMd5)