Skip to content

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.

memory alignment

Chris Lu9beea63960c8
diff --git a/weed/storage/store.go b/weed/storage/store.go
index 3b2bb2c340..bde6d872a7 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -18,6 +18,7 @@ const (
* A VolumeServer contains one Store
*/
type Store struct {
+ volumeSizeLimit uint64 //read from the master
Ip string
Port int
PublicUrl string
@@ -25,7 +26,6 @@ type Store struct {
dataCenter string //optional informaton, overwriting master setting if exists
rack string //optional information, overwriting master setting if exists
connected bool
- volumeSizeLimit uint64 //read from the master
Client master_pb.Seaweed_SendHeartbeatClient
NeedleMapType NeedleMapType
NewVolumesChan chan master_pb.VolumeShortInformationMessage