From 450f4733cec38ec31c66b296749e2d0b14e91218 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 5 Jun 2019 13:32:33 -0700 Subject: [PATCH] report empty volume or ec shards --- weed/pb/master.proto | 2 + weed/pb/master_pb/master.pb.go | 240 ++++++++++++++++-------------- weed/server/master_grpc_server.go | 4 +- weed/storage/store.go | 1 + weed/storage/store_ec.go | 9 +- 5 files changed, 139 insertions(+), 117 deletions(-) diff --git a/weed/pb/master.proto b/weed/pb/master.proto index ce5d07d76..965a6a990 100644 --- a/weed/pb/master.proto +++ b/weed/pb/master.proto @@ -40,12 +40,14 @@ message Heartbeat { // delta volumes repeated VolumeShortInformationMessage new_volumes = 10; repeated VolumeShortInformationMessage deleted_volumes = 11; + bool has_no_volumes = 12; // erasure coding repeated VolumeEcShardInformationMessage ec_shards = 16; // delta erasure coding shards repeated VolumeEcShardInformationMessage new_ec_shards = 17; repeated VolumeEcShardInformationMessage deleted_ec_shards = 18; + bool has_no_ec_shards = 19; } diff --git a/weed/pb/master_pb/master.pb.go b/weed/pb/master_pb/master.pb.go index 2b4561f8a..22113dc4a 100644 --- a/weed/pb/master_pb/master.pb.go +++ b/weed/pb/master_pb/master.pb.go @@ -75,11 +75,13 @@ type Heartbeat struct { // delta volumes NewVolumes []*VolumeShortInformationMessage `protobuf:"bytes,10,rep,name=new_volumes,json=newVolumes" json:"new_volumes,omitempty"` DeletedVolumes []*VolumeShortInformationMessage `protobuf:"bytes,11,rep,name=deleted_volumes,json=deletedVolumes" json:"deleted_volumes,omitempty"` + HasNoVolumes bool `protobuf:"varint,12,opt,name=has_no_volumes,json=hasNoVolumes" json:"has_no_volumes,omitempty"` // erasure coding EcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,16,rep,name=ec_shards,json=ecShards" json:"ec_shards,omitempty"` // delta erasure coding shards NewEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,17,rep,name=new_ec_shards,json=newEcShards" json:"new_ec_shards,omitempty"` DeletedEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,18,rep,name=deleted_ec_shards,json=deletedEcShards" json:"deleted_ec_shards,omitempty"` + HasNoEcShards bool `protobuf:"varint,19,opt,name=has_no_ec_shards,json=hasNoEcShards" json:"has_no_ec_shards,omitempty"` } func (m *Heartbeat) Reset() { *m = Heartbeat{} } @@ -164,6 +166,13 @@ func (m *Heartbeat) GetDeletedVolumes() []*VolumeShortInformationMessage { return nil } +func (m *Heartbeat) GetHasNoVolumes() bool { + if m != nil { + return m.HasNoVolumes + } + return false +} + func (m *Heartbeat) GetEcShards() []*VolumeEcShardInformationMessage { if m != nil { return m.EcShards @@ -185,6 +194,13 @@ func (m *Heartbeat) GetDeletedEcShards() []*VolumeEcShardInformationMessage { return nil } +func (m *Heartbeat) GetHasNoEcShards() bool { + if m != nil { + return m.HasNoEcShards + } + return false +} + type HeartbeatResponse struct { VolumeSizeLimit uint64 `protobuf:"varint,1,opt,name=volumeSizeLimit" json:"volumeSizeLimit,omitempty"` Leader string `protobuf:"bytes,3,opt,name=leader" json:"leader,omitempty"` @@ -1692,115 +1708,117 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("master.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 1753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x73, 0xdb, 0xc6, - 0x15, 0x37, 0x48, 0x4a, 0x22, 0x1f, 0xff, 0x88, 0x5c, 0xc9, 0x0e, 0xcc, 0xd4, 0x31, 0x8d, 0x5c, - 0x98, 0x34, 0x55, 0x53, 0x27, 0x33, 0x3d, 0xb4, 0x9d, 0x8c, 0x2d, 0x2b, 0xad, 0xc6, 0x8e, 0x63, - 0x83, 0x8e, 0x3b, 0xd3, 0x99, 0x0e, 0xba, 0x04, 0x56, 0xf2, 0x8e, 0x40, 0x00, 0xc5, 0x2e, 0x65, - 0x31, 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32, 0xf5, 0x2b, 0x20, 0xac, 0xd5, - 0x89, 0x0a, 0x08, 0xeb, 0xf5, 0x42, 0x81, 0x50, 0xcd, 0x97, 0x0a, 0x08, 0x1b, 0xb3, 0xbb, 0x02, - 0xc2, 0xe6, 0x64, 0xf3, 0x6e, 0xcc, 0xb7, 0xe5, 0xdf, 0xe2, 0x4f, 0xfe, 0x1f, 0x00, 0x00, 0xff, - 0xff, 0xbd, 0xf3, 0x4f, 0x44, 0x3d, 0x16, 0x00, 0x00, + // 1783 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4b, 0x8f, 0x1b, 0x49, + 0x1d, 0x4f, 0xdb, 0x1e, 0x8f, 0xfd, 0xf7, 0x63, 0xec, 0x9a, 0x49, 0xd6, 0xf1, 0x92, 0x8d, 0xd3, + 0x8b, 0x84, 0x77, 0x59, 0x86, 0x25, 0xbb, 0x12, 0x07, 0x40, 0xab, 0x64, 0x32, 0x0b, 0xa3, 0x64, + 0xb3, 0x49, 0x3b, 0x1b, 0x24, 0x24, 0xd4, 0x94, 0xbb, 0x6b, 0x66, 0x4a, 0xd3, 0xee, 0x6e, 0xba, + 0xca, 0x93, 0xf1, 0x72, 0xe0, 0x00, 0x37, 0x24, 0x2e, 0x9c, 0xb9, 0xf3, 0x29, 0xb8, 0x70, 0xe4, + 0x53, 0x70, 0xe0, 0x0b, 0x70, 0x45, 0x48, 0xa8, 0x5e, 0xdd, 0xd5, 0x6d, 0xcf, 0xcc, 0x66, 0xa5, + 0x1c, 0x72, 0xab, 0xfe, 0xbf, 0xeb, 0x57, 0xf5, 0x7f, 0x54, 0x43, 0x77, 0x81, 0x19, 0x27, 0xd9, + 0x7e, 0x9a, 0x25, 0x3c, 0x41, 0x6d, 0xf5, 0xe5, 0xa7, 0x73, 0xf7, 0x4f, 0x4d, 0x68, 0xff, 0x82, + 0xe0, 0x8c, 0xcf, 0x09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, 0x93, 0x57, 0xbe, 0x31, 0x01, 0xd2, + 0xc4, 0x74, 0xcd, 0xc4, 0xec, 0x34, 0xc9, 0xf8, 0x06, 0x3b, 0x10, 0x93, 0x57, 0x2f, 0xb5, 0xa9, + 0xe7, 0xb0, 0x13, 0x92, 0x88, 0x70, 0x12, 0xe6, 0xe6, 0x3a, 0xaf, 0x69, 0xae, 0xaf, 0x0d, 0x18, + 0x93, 0xdf, 0x85, 0xfe, 0x29, 0x66, 0x7e, 0x9c, 0xe4, 0x16, 0xbb, 0x13, 0x67, 0xda, 0xf2, 0xba, + 0xa7, 0x98, 0x3d, 0x4d, 0x8c, 0xd4, 0xcf, 0xa1, 0x4d, 0x02, 0x9f, 0x9d, 0xe2, 0x2c, 0x64, 0xa3, + 0x81, 0x74, 0xf9, 0xe1, 0x9a, 0xcb, 0xc3, 0x60, 0x26, 0x04, 0x36, 0x38, 0x6d, 0x11, 0xc5, 0x62, + 0xe8, 0x29, 0xf4, 0x04, 0x18, 0x85, 0xb1, 0xe1, 0x6b, 0x1b, 0x13, 0x68, 0x1e, 0x1a, 0x7b, 0x2f, + 0x61, 0x68, 0x10, 0x29, 0x6c, 0xa2, 0xd7, 0xb6, 0x69, 0x60, 0xcd, 0xed, 0x7e, 0x0f, 0x06, 0x1a, + 0x96, 0xc2, 0xec, 0xae, 0x04, 0xa6, 0x27, 0x81, 0x31, 0x82, 0xee, 0x57, 0x30, 0xcc, 0x93, 0xc1, + 0x23, 0x2c, 0x4d, 0x62, 0x46, 0xd0, 0x14, 0x76, 0x14, 0x9a, 0x33, 0xfa, 0x35, 0x79, 0x42, 0x17, + 0x94, 0xcb, 0x0c, 0x69, 0x78, 0x55, 0x32, 0xba, 0x05, 0xcd, 0x88, 0xe0, 0x90, 0x64, 0x3a, 0x2d, + 0xf4, 0x97, 0xfb, 0xd7, 0x3a, 0x8c, 0x2e, 0xbb, 0x5a, 0x32, 0xe7, 0x42, 0x69, 0xb1, 0xe7, 0xd5, + 0x68, 0x28, 0xee, 0x34, 0xa3, 0x5f, 0x13, 0x99, 0x73, 0x0d, 0x4f, 0xae, 0xd1, 0x7b, 0x00, 0x41, + 0x12, 0x45, 0x24, 0x10, 0x8a, 0xda, 0xb8, 0x45, 0x11, 0x77, 0x5e, 0xa6, 0x51, 0x91, 0x6e, 0x0d, + 0xaf, 0x2d, 0x28, 0x2a, 0xd3, 0xee, 0x41, 0x57, 0x41, 0xa2, 0x05, 0x54, 0xa6, 0x75, 0x14, 0x4d, + 0x89, 0x7c, 0x04, 0xc8, 0x40, 0x3f, 0x5f, 0xe5, 0x82, 0x4d, 0x29, 0x38, 0xd0, 0x9c, 0x87, 0x2b, + 0x23, 0xfd, 0x2e, 0xb4, 0x33, 0x82, 0x43, 0x3f, 0x89, 0xa3, 0x95, 0x4c, 0xbe, 0x96, 0xd7, 0x12, + 0x84, 0x2f, 0xe3, 0x68, 0x85, 0xbe, 0x0f, 0xc3, 0x8c, 0xa4, 0x11, 0x0d, 0xb0, 0x9f, 0x46, 0x38, + 0x20, 0x0b, 0x12, 0x9b, 0x3c, 0x1c, 0x68, 0xc6, 0x33, 0x43, 0x47, 0x23, 0xd8, 0x3e, 0x27, 0x19, + 0x13, 0xdb, 0x6a, 0x4b, 0x11, 0xf3, 0x89, 0x06, 0x50, 0xe7, 0x3c, 0x1a, 0x81, 0xa4, 0x8a, 0x25, + 0xfa, 0x00, 0x06, 0x41, 0xb2, 0x48, 0x71, 0xc0, 0xfd, 0x8c, 0x9c, 0x53, 0xa9, 0xd4, 0x91, 0xec, + 0x1d, 0x4d, 0xf7, 0x34, 0x59, 0x6c, 0x67, 0x91, 0x84, 0xf4, 0x98, 0x92, 0xd0, 0xc7, 0xdc, 0x67, + 0x24, 0x48, 0xe2, 0x50, 0x26, 0x43, 0xdd, 0x1b, 0x18, 0xce, 0x03, 0x3e, 0x93, 0x74, 0xf7, 0x6f, + 0x0e, 0xdc, 0xb9, 0x32, 0xd1, 0xd6, 0x0e, 0xe9, 0xba, 0x03, 0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x20, 0x0c, 0x55, 0x8c, 0x16, 0x00, 0x00, } diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.go index 0e41a7baa..120a730d5 100644 --- a/weed/server/master_grpc_server.go +++ b/weed/server/master_grpc_server.go @@ -93,7 +93,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ t.IncrementalSyncDataNodeRegistration(heartbeat.NewVolumes, heartbeat.DeletedVolumes, dn) } - if len(heartbeat.Volumes) > 0 { + if len(heartbeat.Volumes) > 0 || heartbeat.HasNoVolumes { // process heartbeat.Volumes newVolumes, deletedVolumes := t.SyncDataNodeRegistration(heartbeat.Volumes, dn) @@ -124,7 +124,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ } - if len(heartbeat.EcShards) > 0 { + if len(heartbeat.EcShards) > 0 || heartbeat.HasNoEcShards { glog.V(1).Infof("master recieved ec shards from %s: %+v", dn.Url(), heartbeat.EcShards) newShards, deletedShards := t.SyncDataNodeEcShards(heartbeat.EcShards, dn) diff --git a/weed/storage/store.go b/weed/storage/store.go index 85ea2ae4c..2138041a4 100644 --- a/weed/storage/store.go +++ b/weed/storage/store.go @@ -191,6 +191,7 @@ func (s *Store) CollectHeartbeat() *master_pb.Heartbeat { DataCenter: s.dataCenter, Rack: s.rack, Volumes: volumeMessages, + HasNoVolumes: len(volumeMessages) == 0, } } diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go index 960551dc2..43fb62ba1 100644 --- a/weed/storage/store_ec.go +++ b/weed/storage/store_ec.go @@ -28,7 +28,8 @@ func (s *Store) CollectErasureCodingHeartbeat() *master_pb.Heartbeat { } return &master_pb.Heartbeat{ - EcShards: ecShardMessages, + EcShards: ecShardMessages, + HasNoEcShards: len(ecShardMessages) == 0, } } @@ -221,11 +222,11 @@ func (s *Store) cachedLookupEcShardLocations(ctx context.Context, ecVolume *eras shardCount := len(ecVolume.ShardLocations) if shardCount < erasure_coding.DataShardsCount && - ecVolume.ShardLocationsRefreshTime.Add(11*time.Second).After(time.Now()) || + ecVolume.ShardLocationsRefreshTime.Add(11 * time.Second).After(time.Now()) || shardCount == erasure_coding.TotalShardsCount && - ecVolume.ShardLocationsRefreshTime.Add(37*time.Minute).After(time.Now()) || + ecVolume.ShardLocationsRefreshTime.Add(37 * time.Minute).After(time.Now()) || shardCount >= erasure_coding.DataShardsCount && - ecVolume.ShardLocationsRefreshTime.Add(7*time.Minute).After(time.Now()) { + ecVolume.ShardLocationsRefreshTime.Add(7 * time.Minute).After(time.Now()) { // still fresh return nil }