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
Rename ChunkManifest.GetData to ChunkManifest.Marshal
tnextdayf240c57f16e8
diff --git a/go/operation/chunked_file.go b/go/operation/chunked_file.goindex f8266087b0..cb9ac80dfb 100644--- a/go/operation/chunked_file.go+++ b/go/operation/chunked_file.go@@ -65,7 +65,7 @@ func LoadChunkManifest(buffer []byte, isGzipped bool) (*ChunkManifest, error) {return &cm, nil}-func (cm *ChunkManifest) GetData() ([]byte, error) {+func (cm *ChunkManifest) Marshal() ([]byte, error) {return json.Marshal(cm)}diff --git a/go/operation/submit.go b/go/operation/submit.goindex ac5a3b55f8..d996d63f01 100644--- a/go/operation/submit.go+++ b/go/operation/submit.go@@ -180,7 +180,7 @@ func upload_one_chunk(filename string, reader io.Reader, master,}func upload_chunked_file_manifest(fileUrl string, manifest *ChunkManifest, jwt security.EncodedJwt) error {- buf, e := manifest.GetData()+ buf, e := manifest.Marshal()if e != nil {return e}