Chris Lu 6 years ago
parent
commit
9beea63960
  1. 2
      weed/storage/store.go

2
weed/storage/store.go

@ -18,6 +18,7 @@ const (
* A VolumeServer contains one Store * A VolumeServer contains one Store
*/ */
type Store struct { type Store struct {
volumeSizeLimit uint64 //read from the master
Ip string Ip string
Port int Port int
PublicUrl string PublicUrl string
@ -25,7 +26,6 @@ type Store struct {
dataCenter string //optional informaton, overwriting master setting if exists dataCenter string //optional informaton, overwriting master setting if exists
rack string //optional information, overwriting master setting if exists rack string //optional information, overwriting master setting if exists
connected bool connected bool
volumeSizeLimit uint64 //read from the master
Client master_pb.Seaweed_SendHeartbeatClient Client master_pb.Seaweed_SendHeartbeatClient
NeedleMapType NeedleMapType NeedleMapType NeedleMapType
NewVolumesChan chan master_pb.VolumeShortInformationMessage NewVolumesChan chan master_pb.VolumeShortInformationMessage

Loading…
Cancel
Save