From 9beea63960c88eaa938d3d6951ad9a711d9c5320 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 24 Apr 2019 09:23:19 -0700 Subject: [PATCH] memory alignment fix https://github.com/chrislusf/seaweedfs/issues/939 --- weed/storage/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/store.go b/weed/storage/store.go index 3b2bb2c34..bde6d872a 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