aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/store.go')
-rw-r--r--weed/storage/store.go23
1 files changed, 11 insertions, 12 deletions
diff --git a/weed/storage/store.go b/weed/storage/store.go
index ad8f2d6b9..d5474d87f 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -18,18 +18,17 @@ const (
* A VolumeServer contains one Store
*/
type Store struct {
- volumeSizeLimit uint64 //read from the master
- Ip string
- Port int
- PublicUrl string
- Locations []*DiskLocation
- dataCenter string //optional informaton, overwriting master setting if exists
- rack string //optional information, overwriting master setting if exists
- connected bool
- Client master_pb.Seaweed_SendHeartbeatClient
- NeedleMapType NeedleMapType
- NewVolumesChan chan master_pb.VolumeShortInformationMessage
- DeletedVolumesChan chan master_pb.VolumeShortInformationMessage
+ volumeSizeLimit uint64 //read from the master
+ Ip string
+ Port int
+ PublicUrl string
+ Locations []*DiskLocation
+ dataCenter string //optional informaton, overwriting master setting if exists
+ rack string //optional information, overwriting master setting if exists
+ connected bool
+ NeedleMapType NeedleMapType
+ NewVolumesChan chan master_pb.VolumeShortInformationMessage
+ DeletedVolumesChan chan master_pb.VolumeShortInformationMessage
NewEcShardsChan chan master_pb.VolumeEcShardInformationMessage
DeletedEcShardsChan chan master_pb.VolumeEcShardInformationMessage
}