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
fix compilation error
Chris Lu49f421628088
diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.goindex 3c1cf25d8d..09b4fbe830 100644--- a/weed/storage/volume_super_block.go+++ b/weed/storage/volume_super_block.go@@ -32,7 +32,7 @@ type SuperBlock struct {}func (s *SuperBlock) BlockSize() int {- switch version {+ switch s.version {case Version2:return _SuperBlockSize + int(s.extraSize)}@@ -120,7 +120,7 @@ func ReadSuperBlock(dataFile *os.File) (superBlock SuperBlock, err error) {superBlock.Extra = &master_pb.SuperBlockExtra{}err = proto.Unmarshal(extraData, superBlock.Extra)if err != nil {- err = fmt.Errorf("cannot read volume %s super block extra: %v", dataFile.Name(), e)+ err = fmt.Errorf("cannot read volume %s super block extra: %v", dataFile.Name(), err)return}}