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
chore: make function comment match function name (#6607)
NinaLua271505717e82
diff --git a/weed/s3api/chunked_reader_v4.go b/weed/s3api/chunked_reader_v4.goindex 7f2611b8fd..edef5bfafe 100644--- a/weed/s3api/chunked_reader_v4.go+++ b/weed/s3api/chunked_reader_v4.go@@ -557,7 +557,7 @@ func isASCIISpace(b byte) bool {// Constant s3 chunk encoding signature.const s3ChunkSignatureStr = ";chunk-signature="-// parses3ChunkExtension removes any s3 specific chunk-extension from buf.+// parseS3ChunkExtension removes any s3 specific chunk-extension from buf.// For example,//// "10000;chunk-signature=..." => "10000", "chunk-signature=..."diff --git a/weed/storage/idx/binary_search.go b/weed/storage/idx/binary_search.goindex 93bdfd7d83..9f1dcef404 100644--- a/weed/storage/idx/binary_search.go+++ b/weed/storage/idx/binary_search.go@@ -4,7 +4,7 @@ import ("github.com/seaweedfs/seaweedfs/weed/storage/types")-// firstInvalidIndex find the first index the failed lessThanOrEqualToFn function's requirement.+// FirstInvalidIndex find the first index the failed lessThanOrEqualToFn function's requirement.func FirstInvalidIndex(bytes []byte, lessThanOrEqualToFn func(key types.NeedleId, offset types.Offset, size types.Size) (bool, error)) (int, error) {left, right := 0, len(bytes)/types.NeedleMapEntrySize-1index := right + 1