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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
read ec volume shards locations from master
Chris Lu2858a954b321
diff --git a/weed/pb/master.proto b/weed/pb/master.protoindex 6f7db5d960..1cf78276a6 100644--- a/weed/pb/master.proto+++ b/weed/pb/master.proto@@ -21,6 +21,8 @@ service Seaweed {}rpc VolumeList (VolumeListRequest) returns (VolumeListResponse) {}+ rpc LookupEcVolume (LookupEcVolumeRequest) returns (LookupEcVolumeResponse) {+ }}//////////////////////////////////////////////////@@ -218,3 +220,15 @@ message VolumeListResponse {TopologyInfo topology_info = 1;uint64 volume_size_limit_mb = 2;}++message LookupEcVolumeRequest {+ uint32 volume_id = 1;+}+message LookupEcVolumeResponse {+ uint32 volume_id = 1;+ message EcShardIdLocation {+ uint32 shard_id = 1;+ repeated Location locations = 2;+ }+ repeated EcShardIdLocation shard_id_locations = 2;+}diff --git a/weed/pb/master_pb/master.pb.go b/weed/pb/master_pb/master.pb.goindex 70326384e0..db39880bcb 100644--- a/weed/pb/master_pb/master.pb.go+++ b/weed/pb/master_pb/master.pb.go@@ -37,6 +37,8 @@ It has these top-level messages:TopologyInfoVolumeListRequestVolumeListResponse+ LookupEcVolumeRequest+ LookupEcVolumeResponse*/package master_pb@@ -1158,6 +1160,74 @@ func (m *VolumeListResponse) GetVolumeSizeLimitMb() uint64 {return 0}+type LookupEcVolumeRequest struct {+ VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`+}++func (m *LookupEcVolumeRequest) Reset() { *m = LookupEcVolumeRequest{} }+func (m *LookupEcVolumeRequest) String() string { return proto.CompactTextString(m) }+func (*LookupEcVolumeRequest) ProtoMessage() {}+func (*LookupEcVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }++func (m *LookupEcVolumeRequest) GetVolumeId() uint32 {+ if m != nil {+ return m.VolumeId+ }+ return 0+}++type LookupEcVolumeResponse struct {+ VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`+ ShardIdLocations []*LookupEcVolumeResponse_EcShardIdLocation `protobuf:"bytes,2,rep,name=shard_id_locations,json=shardIdLocations" json:"shard_id_locations,omitempty"`+}++func (m *LookupEcVolumeResponse) Reset() { *m = LookupEcVolumeResponse{} }+func (m *LookupEcVolumeResponse) String() string { return proto.CompactTextString(m) }+func (*LookupEcVolumeResponse) ProtoMessage() {}+func (*LookupEcVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }++func (m *LookupEcVolumeResponse) GetVolumeId() uint32 {+ if m != nil {+ return m.VolumeId+ }+ return 0+}++func (m *LookupEcVolumeResponse) GetShardIdLocations() []*LookupEcVolumeResponse_EcShardIdLocation {+ if m != nil {+ return m.ShardIdLocations+ }+ return nil+}++type LookupEcVolumeResponse_EcShardIdLocation struct {+ ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId" json:"shard_id,omitempty"`+ Locations []*Location `protobuf:"bytes,2,rep,name=locations" json:"locations,omitempty"`+}++func (m *LookupEcVolumeResponse_EcShardIdLocation) Reset() {+ *m = LookupEcVolumeResponse_EcShardIdLocation{}+}+func (m *LookupEcVolumeResponse_EcShardIdLocation) String() string { return proto.CompactTextString(m) }+func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}+func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{29, 0}+}++func (m *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {+ if m != nil {+ return m.ShardId+ }+ return 0+}++func (m *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {+ if m != nil {+ return m.Locations+ }+ return nil+}+func init() {proto.RegisterType((*Heartbeat)(nil), "master_pb.Heartbeat")proto.RegisterType((*HeartbeatResponse)(nil), "master_pb.HeartbeatResponse")@@ -1189,6 +1259,9 @@ func init() {proto.RegisterType((*TopologyInfo)(nil), "master_pb.TopologyInfo")proto.RegisterType((*VolumeListRequest)(nil), "master_pb.VolumeListRequest")proto.RegisterType((*VolumeListResponse)(nil), "master_pb.VolumeListResponse")+ proto.RegisterType((*LookupEcVolumeRequest)(nil), "master_pb.LookupEcVolumeRequest")+ proto.RegisterType((*LookupEcVolumeResponse)(nil), "master_pb.LookupEcVolumeResponse")+ proto.RegisterType((*LookupEcVolumeResponse_EcShardIdLocation)(nil), "master_pb.LookupEcVolumeResponse.EcShardIdLocation")}// Reference imports to suppress errors if they are not otherwise used.@@ -1210,6 +1283,7 @@ type SeaweedClient interface {CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)+ LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)}type seaweedClient struct {@@ -1336,6 +1410,15 @@ func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, oreturn out, nil}+func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {+ out := new(LookupEcVolumeResponse)+ err := grpc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, c.cc, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}+// Server API for Seaweed servicetype SeaweedServer interface {@@ -1347,6 +1430,7 @@ type SeaweedServer interface {CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)+ LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)}func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {@@ -1513,6 +1597,24 @@ func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(return interceptor(ctx, in, info, handler)}+func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(LookupEcVolumeRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(SeaweedServer).LookupEcVolume(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/master_pb.Seaweed/LookupEcVolume",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))+ }+ return interceptor(ctx, in, info, handler)+}+var _Seaweed_serviceDesc = grpc.ServiceDesc{ServiceName: "master_pb.Seaweed",HandlerType: (*SeaweedServer)(nil),@@ -1541,6 +1643,10 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{MethodName: "VolumeList",Handler: _Seaweed_VolumeList_Handler,},+ {+ MethodName: "LookupEcVolume",+ Handler: _Seaweed_LookupEcVolume_Handler,+ },},Streams: []grpc.StreamDesc{{@@ -1562,105 +1668,110 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{func init() { proto.RegisterFile("master.proto", fileDescriptor0) }var fileDescriptor0 = []byte{- // 1594 bytes of a gzipped FileDescriptorProto- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x6f, 0xdb, 0xc6,- 0x12, 0x37, 0xf5, 0xcf, 0xd2, 0xe8, 0x8f, 0xa5, 0xb5, 0x93, 0x30, 0xca, 0x4b, 0xa2, 0x30, 0x17,- 0x25, 0xef, 0x3d, 0xbf,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1, 0x26, 0x5a, 0x1e, 0xa4, 0x2b, 0xc6, 0xb9, 0x9e, 0x2e, 0xe7,- 0x57, 0xbe, 0x3f, 0x32, 0x56, 0xd0, 0x23, 0x80, 0xac, 0x69, 0x40, 0x2a, 0x2f, 0x73, 0x5d, 0x4b,- 0xff, 0xea, 0x29, 0xda, 0x14, 0xec, 0x73, 0xe8, 0xe4, 0xcb, 0x27, 0x1a, 0x2c, 0xac, 0x90, 0x4a,- 0x0c, 0xf5, 0x6f, 0x9c, 0x61, 0x91, 0x02, 0x7f, 0x09, 0xdd, 0x62, 0x55, 0x44, 0xc6, 0xc2, 0x85,- 0xb9, 0x0a, 0xdb, 0xbf, 0x79, 0xa6, 0x8d, 0x4a, 0x42, 0x16, 0xc6, 0x39, 0x12, 0xe6, 0x62, 0x3e,- 0x47, 0xc2, 0x7c, 0xec, 0x1b, 0x2b, 0xe3, 0x1a, 0xff, 0x1d, 0xf8, 0xc1, 0xdf, 0x01, 0x00, 0x00,- 0xff, 0xff, 0xf2, 0x26, 0x88, 0x39, 0x1e, 0x14, 0x00, 0x00,+ // 1677 bytes of a gzipped FileDescriptorProto+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4b, 0x6f, 0xdb, 0xca,+ 0x15, 0x36, 0xf5, 0xd6, 0xd1, 0xc3, 0xd2, 0xd8, 0x49, 0x14, 0xa5, 0x49, 0x14, 0x66, 0xa3, 0xa4,+ 0xad, 0x9b, 0x3a, 0x05, 0xba, 0x68, 0x8b, 0x20, 0x71, 0x9c, 0xd6, 0x88, 0x93, 0x38, 0x54, 0x92,+ 0x02, 0x05, 0x0a, 0x76, 0x44, 0x8e, 0x1d, 0xc2, 0x14, 0xc9, 0x72, 0x46, 0x8e, 0x95, 0x4d, 0x17,+ 0xed, 0xba, 0x9b, 0xfe, 0x89, 0xfe, 0x88, 0xa2, 0x9b, 0x2e, 0xfb, 0x2b, 0xba, 0xe8, 0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, 0x83, 0x80, 0x38, 0x8c, 0xb8, 0xe8, 0x96, 0xde, 0x21, 0x97, 0x9f, 0x27,+ 0xc3, 0xeb, 0x4b, 0x85, 0x3a, 0xf1, 0x56, 0x59, 0x7c, 0x0d, 0x6d, 0x9d, 0x95, 0xe7, 0x0c, 0xae,+ 0x78, 0x43, 0x0c, 0x6f, 0x5f, 0x40, 0xe7, 0xcd, 0x35, 0xf4, 0x08, 0x6a, 0x92, 0x26, 0xa2, 0x81,+ 0xa6, 0x9c, 0xe3, 0xc1, 0x39, 0xbf, 0xf2, 0x9c, 0xd2, 0x5c, 0x43, 0xcf, 0x01, 0x32, 0xa2, 0x85,+ 0x74, 0x5c, 0x96, 0x98, 0xde, 0xf0, 0xe6, 0x19, 0xb3, 0xa9, 0xb1, 0xdf, 0x43, 0x37, 0x4f, 0x39,+ 0xd0, 0x68, 0x25, 0xab, 0xd0, 0xf2, 0x6e, 0x78, 0xe7, 0x1c, 0x8d, 0xd4, 0xf0, 0x1f, 0xa1, 0x57,+ 0x64, 0x12, 0xc8, 0x5c, 0xb9, 0x30, 0xc7, 0x4a, 0x86, 0x77, 0xcf, 0xd5, 0xd1, 0x41, 0xc8, 0x52,+ 0x3f, 0x07, 0xc2, 0x52, 0x9d, 0xc8, 0x81, 0xb0, 0x5c, 0x2f, 0x24, 0x08, 0xf9, 0x7c, 0xc9, 0x81,+ 0xb0, 0x32, 0xbb, 0x73, 0x20, 0xac, 0x4e, 0x36, 0x73, 0x6d, 0x5a, 0x13, 0xff, 0x66, 0x1f, 0xfe,+ 0x10, 0x00, 0x00, 0xff, 0xff, 0xac, 0x38, 0x8b, 0x89, 0xab, 0x15, 0x00, 0x00,}diff --git a/weed/server/master_grpc_server_volume.go b/weed/server/master_grpc_server_volume.goindex c0ec9e91f7..2aaf7b891f 100644--- a/weed/server/master_grpc_server_volume.go+++ b/weed/server/master_grpc_server_volume.go@@ -141,3 +141,36 @@ func (ms *MasterServer) VolumeList(ctx context.Context, req *master_pb.VolumeLisreturn resp, nil}++func (ms *MasterServer) LookupEcVolume(ctx context.Context, req *master_pb.LookupEcVolumeRequest) (*master_pb.LookupEcVolumeResponse, error) {++ if !ms.Topo.IsLeader() {+ return nil, raft.NotLeaderError+ }++ resp := &master_pb.LookupEcVolumeResponse{}++ ecLocations, found := ms.Topo.LookupEcShards(needle.VolumeId(req.VolumeId))++ if !found {+ return resp, fmt.Errorf("ec volume %d not found", req.VolumeId)+ }++ resp.VolumeId = req.VolumeId++ for shardId, shardLocations := range ecLocations.Locations {+ var locations []*master_pb.Location+ for _, dn := range shardLocations {+ locations = append(locations, &master_pb.Location{+ Url: string(dn.Id()),+ PublicUrl: dn.PublicUrl,+ })+ }+ resp.ShardIdLocations = append(resp.ShardIdLocations, &master_pb.LookupEcVolumeResponse_EcShardIdLocation{+ ShardId: uint32(shardId),+ Locations: locations,+ })+ }++ return resp, nil+}diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.goindex daa8bbd190..41d885af1c 100644--- a/weed/storage/store_ec.go+++ b/weed/storage/store_ec.go@@ -172,6 +172,24 @@ func (s *Store) cachedLookupEcShardLocations(ctx context.Context, ecVolume *erasdefer ecVolume.ShardLocationsLock.Unlock()err = operation.WithMasterServerClient(s.MasterAddress, s.grpcDialOption, func(masterClient master_pb.SeaweedClient) error {+ req := &master_pb.LookupEcVolumeRequest{+ VolumeId: uint32(ecVolume.VolumeId),+ }+ resp, err := masterClient.LookupEcVolume(ctx, req)+ if err != nil {+ return fmt.Errorf("lookup ec volume %d: %v", ecVolume.VolumeId, err)+ }++ ecVolume.ShardLocationsLock.Lock()+ for _, shardIdLocations := range resp.ShardIdLocations {+ shardId := erasure_coding.ShardId(shardIdLocations.ShardId)+ ecVolume.ShardLocations[shardId] = nil+ for _, loc := range shardIdLocations.Locations {+ ecVolume.ShardLocations[shardId] = append(ecVolume.ShardLocations[shardId], loc.Url)+ }+ }+ ecVolume.ShardLocationsLock.Unlock()+return nil})returndiff --git a/weed/topology/topology_ec.go b/weed/topology/topology_ec.goindex 61de867532..63cd3ce35d 100644--- a/weed/topology/topology_ec.go+++ b/weed/topology/topology_ec.go@@ -9,7 +9,7 @@ import (type EcShardLocations struct {Collection string- locations [erasure_coding.TotalShardsCount][]*DataNode+ Locations [erasure_coding.TotalShardsCount][]*DataNode}func (t *Topology) SyncDataNodeEcShards(shardInfos []*master_pb.VolumeEcShardInformationMessage, dn *DataNode) (newShards, deletedShards []*erasure_coding.EcVolumeInfo) {@@ -69,18 +69,18 @@ func NewEcShardLocations(collection string) *EcShardLocations {}func (loc *EcShardLocations) AddShard(shardId erasure_coding.ShardId, dn *DataNode) (added bool) {- dataNodes := loc.locations[shardId]+ dataNodes := loc.Locations[shardId]for _, n := range dataNodes {if n.Id() == dn.Id() {return false}}- loc.locations[shardId] = append(dataNodes, dn)+ loc.Locations[shardId] = append(dataNodes, dn)return true}func (loc *EcShardLocations) DeleteShard(shardId erasure_coding.ShardId, dn *DataNode) (deleted bool) {- dataNodes := loc.locations[shardId]+ dataNodes := loc.Locations[shardId]foundIndex := -1for index, n := range dataNodes {if n.Id() == dn.Id() {@@ -90,7 +90,7 @@ func (loc *EcShardLocations) DeleteShard(shardId erasure_coding.ShardId, dn *Datif foundIndex < 0 {return false}- loc.locations[shardId] = append(dataNodes[:foundIndex], dataNodes[foundIndex+1:]...)+ loc.Locations[shardId] = append(dataNodes[:foundIndex], dataNodes[foundIndex+1:]...)return true}@@ -122,3 +122,12 @@ func (t *Topology) UnRegisterEcShards(ecShardInfos *erasure_coding.EcVolumeInfo,locations.DeleteShard(shardId, dn)}}++func (t *Topology) LookupEcShards(vid needle.VolumeId)(locations *EcShardLocations, found bool) {+ t.ecShardMapLock.RLock()+ defer t.ecShardMapLock.RUnlock()++ locations, found = t.ecShardMap[vid]++ return+}