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
mount/unmount ec shards
Chris Ludb94a41f9e28
diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.protoindex 5af0e8225f..0f21c8ba5a 100644--- a/weed/pb/volume_server.proto+++ b/weed/pb/volume_server.proto@@ -54,6 +54,10 @@ service VolumeServer {}rpc VolumeEcShardsDelete (VolumeEcShardsDeleteRequest) returns (VolumeEcShardsDeleteResponse) {}+ rpc VolumeEcShardsMount (VolumeEcShardsMountRequest) returns (VolumeEcShardsMountResponse) {+ }+ rpc VolumeEcShardsUnmount (VolumeEcShardsUnmountRequest) returns (VolumeEcShardsUnmountResponse) {+ }}@@ -223,6 +227,21 @@ message VolumeEcShardsDeleteRequest {message VolumeEcShardsDeleteResponse {}+message VolumeEcShardsMountRequest {+ uint32 volume_id = 1;+ string collection = 2;+ repeated uint32 ec_indexes = 3;+}+message VolumeEcShardsMountResponse {+}++message VolumeEcShardsUnmountRequest {+ uint32 volume_id = 1;+ repeated uint32 ec_indexes = 3;+}+message VolumeEcShardsUnmountResponse {+}+message ReadVolumeFileStatusRequest {uint32 volume_id = 1;}diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.goindex 4b0c10e0b7..f572fe401c 100644--- a/weed/pb/volume_server_pb/volume_server.pb.go+++ b/weed/pb/volume_server_pb/volume_server.pb.go@@ -49,6 +49,10 @@ It has these top-level messages:VolumeEcShardsCopyResponseVolumeEcShardsDeleteRequestVolumeEcShardsDeleteResponse+ VolumeEcShardsMountRequest+ VolumeEcShardsMountResponse+ VolumeEcShardsUnmountRequest+ VolumeEcShardsUnmountResponseReadVolumeFileStatusRequestReadVolumeFileStatusResponseDiskStatus@@ -892,6 +896,78 @@ func (m *VolumeEcShardsDeleteResponse) String() string { return protofunc (*VolumeEcShardsDeleteResponse) ProtoMessage() {}func (*VolumeEcShardsDeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }+type VolumeEcShardsMountRequest struct {+ VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`+ Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`+ EcIndexes []uint32 `protobuf:"varint,3,rep,packed,name=ec_indexes,json=ecIndexes" json:"ec_indexes,omitempty"`+}++func (m *VolumeEcShardsMountRequest) Reset() { *m = VolumeEcShardsMountRequest{} }+func (m *VolumeEcShardsMountRequest) String() string { return proto.CompactTextString(m) }+func (*VolumeEcShardsMountRequest) ProtoMessage() {}+func (*VolumeEcShardsMountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }++func (m *VolumeEcShardsMountRequest) GetVolumeId() uint32 {+ if m != nil {+ return m.VolumeId+ }+ return 0+}++func (m *VolumeEcShardsMountRequest) GetCollection() string {+ if m != nil {+ return m.Collection+ }+ return ""+}++func (m *VolumeEcShardsMountRequest) GetEcIndexes() []uint32 {+ if m != nil {+ return m.EcIndexes+ }+ return nil+}++type VolumeEcShardsMountResponse struct {+}++func (m *VolumeEcShardsMountResponse) Reset() { *m = VolumeEcShardsMountResponse{} }+func (m *VolumeEcShardsMountResponse) String() string { return proto.CompactTextString(m) }+func (*VolumeEcShardsMountResponse) ProtoMessage() {}+func (*VolumeEcShardsMountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }++type VolumeEcShardsUnmountRequest struct {+ VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`+ EcIndexes []uint32 `protobuf:"varint,3,rep,packed,name=ec_indexes,json=ecIndexes" json:"ec_indexes,omitempty"`+}++func (m *VolumeEcShardsUnmountRequest) Reset() { *m = VolumeEcShardsUnmountRequest{} }+func (m *VolumeEcShardsUnmountRequest) String() string { return proto.CompactTextString(m) }+func (*VolumeEcShardsUnmountRequest) ProtoMessage() {}+func (*VolumeEcShardsUnmountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }++func (m *VolumeEcShardsUnmountRequest) GetVolumeId() uint32 {+ if m != nil {+ return m.VolumeId+ }+ return 0+}++func (m *VolumeEcShardsUnmountRequest) GetEcIndexes() []uint32 {+ if m != nil {+ return m.EcIndexes+ }+ return nil+}++type VolumeEcShardsUnmountResponse struct {+}++func (m *VolumeEcShardsUnmountResponse) Reset() { *m = VolumeEcShardsUnmountResponse{} }+func (m *VolumeEcShardsUnmountResponse) String() string { return proto.CompactTextString(m) }+func (*VolumeEcShardsUnmountResponse) ProtoMessage() {}+func (*VolumeEcShardsUnmountResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} }+type ReadVolumeFileStatusRequest struct {VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`}@@ -899,7 +975,7 @@ type ReadVolumeFileStatusRequest struct {func (m *ReadVolumeFileStatusRequest) Reset() { *m = ReadVolumeFileStatusRequest{} }func (m *ReadVolumeFileStatusRequest) String() string { return proto.CompactTextString(m) }func (*ReadVolumeFileStatusRequest) ProtoMessage() {}-func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }+func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} }func (m *ReadVolumeFileStatusRequest) GetVolumeId() uint32 {if m != nil {@@ -922,7 +998,7 @@ type ReadVolumeFileStatusResponse struct {func (m *ReadVolumeFileStatusResponse) Reset() { *m = ReadVolumeFileStatusResponse{} }func (m *ReadVolumeFileStatusResponse) String() string { return proto.CompactTextString(m) }func (*ReadVolumeFileStatusResponse) ProtoMessage() {}-func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }+func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{45} }func (m *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {if m != nil {@@ -990,7 +1066,7 @@ type DiskStatus struct {func (m *DiskStatus) Reset() { *m = DiskStatus{} }func (m *DiskStatus) String() string { return proto.CompactTextString(m) }func (*DiskStatus) ProtoMessage() {}-func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} }+func (*DiskStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} }func (m *DiskStatus) GetDir() string {if m != nil {@@ -1033,7 +1109,7 @@ type MemStatus struct {func (m *MemStatus) Reset() { *m = MemStatus{} }func (m *MemStatus) String() string { return proto.CompactTextString(m) }func (*MemStatus) ProtoMessage() {}-func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} }+func (*MemStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{47} }func (m *MemStatus) GetGoroutines() int32 {if m != nil {@@ -1125,6 +1201,10 @@ func init() {proto.RegisterType((*VolumeEcShardsCopyResponse)(nil), "volume_server_pb.VolumeEcShardsCopyResponse")proto.RegisterType((*VolumeEcShardsDeleteRequest)(nil), "volume_server_pb.VolumeEcShardsDeleteRequest")proto.RegisterType((*VolumeEcShardsDeleteResponse)(nil), "volume_server_pb.VolumeEcShardsDeleteResponse")+ proto.RegisterType((*VolumeEcShardsMountRequest)(nil), "volume_server_pb.VolumeEcShardsMountRequest")+ proto.RegisterType((*VolumeEcShardsMountResponse)(nil), "volume_server_pb.VolumeEcShardsMountResponse")+ proto.RegisterType((*VolumeEcShardsUnmountRequest)(nil), "volume_server_pb.VolumeEcShardsUnmountRequest")+ proto.RegisterType((*VolumeEcShardsUnmountResponse)(nil), "volume_server_pb.VolumeEcShardsUnmountResponse")proto.RegisterType((*ReadVolumeFileStatusRequest)(nil), "volume_server_pb.ReadVolumeFileStatusRequest")proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")@@ -1165,6 +1245,8 @@ type VolumeServerClient interface {VolumeEcShardsGenerate(ctx context.Context, in *VolumeEcShardsGenerateRequest, opts ...grpc.CallOption) (*VolumeEcShardsGenerateResponse, error)VolumeEcShardsCopy(ctx context.Context, in *VolumeEcShardsCopyRequest, opts ...grpc.CallOption) (*VolumeEcShardsCopyResponse, error)VolumeEcShardsDelete(ctx context.Context, in *VolumeEcShardsDeleteRequest, opts ...grpc.CallOption) (*VolumeEcShardsDeleteResponse, error)+ VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error)+ VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error)}type volumeServerClient struct {@@ -1424,6 +1506,24 @@ func (c *volumeServerClient) VolumeEcShardsDelete(ctx context.Context, in *Volumreturn out, nil}+func (c *volumeServerClient) VolumeEcShardsMount(ctx context.Context, in *VolumeEcShardsMountRequest, opts ...grpc.CallOption) (*VolumeEcShardsMountResponse, error) {+ out := new(VolumeEcShardsMountResponse)+ err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsMount", in, out, c.cc, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *volumeServerClient) VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error) {+ out := new(VolumeEcShardsUnmountResponse)+ err := grpc.Invoke(ctx, "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount", in, out, c.cc, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}+// Server API for VolumeServer servicetype VolumeServerServer interface {@@ -1450,6 +1550,8 @@ type VolumeServerServer interface {VolumeEcShardsGenerate(context.Context, *VolumeEcShardsGenerateRequest) (*VolumeEcShardsGenerateResponse, error)VolumeEcShardsCopy(context.Context, *VolumeEcShardsCopyRequest) (*VolumeEcShardsCopyResponse, error)VolumeEcShardsDelete(context.Context, *VolumeEcShardsDeleteRequest) (*VolumeEcShardsDeleteResponse, error)+ VolumeEcShardsMount(context.Context, *VolumeEcShardsMountRequest) (*VolumeEcShardsMountResponse, error)+ VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error)}func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {@@ -1825,6 +1927,42 @@ func _VolumeServer_VolumeEcShardsDelete_Handler(srv interface{}, ctx context.Conreturn interceptor(ctx, in, info, handler)}+func _VolumeServer_VolumeEcShardsMount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(VolumeEcShardsMountRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsMount",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(VolumeServerServer).VolumeEcShardsMount(ctx, req.(*VolumeEcShardsMountRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _VolumeServer_VolumeEcShardsUnmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(VolumeEcShardsUnmountRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/volume_server_pb.VolumeServer/VolumeEcShardsUnmount",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(VolumeServerServer).VolumeEcShardsUnmount(ctx, req.(*VolumeEcShardsUnmountRequest))+ }+ return interceptor(ctx, in, info, handler)+}+var _VolumeServer_serviceDesc = grpc.ServiceDesc{ServiceName: "volume_server_pb.VolumeServer",HandlerType: (*VolumeServerServer)(nil),@@ -1897,6 +2035,14 @@ var _VolumeServer_serviceDesc = grpc.ServiceDesc{MethodName: "VolumeEcShardsDelete",Handler: _VolumeServer_VolumeEcShardsDelete_Handler,},+ {+ MethodName: "VolumeEcShardsMount",+ Handler: _VolumeServer_VolumeEcShardsMount_Handler,+ },+ {+ MethodName: "VolumeEcShardsUnmount",+ Handler: _VolumeServer_VolumeEcShardsUnmount_Handler,+ },},Streams: []grpc.StreamDesc{{@@ -1921,105 +2067,109 @@ var _VolumeServer_serviceDesc = grpc.ServiceDesc{func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }var fileDescriptor0 = []byte{- // 1598 bytes of a gzipped FileDescriptorProto- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x58, 0x5f, 0x6f, 0xd4, 0x56,- 0x16, 0x8f, 0x99, 0x49, 0x32, 0x39, 0x93, 0x40, 0x72, 0x13, 0x92, 0x89, 0x43, 0x42, 0x30, 0x2c,- 0x0c, 0x7f, 0x36, 0xb0, 0xa0, 0xdd, 0x65, 0x77, 0x1f, 0xb6, 0x10, 0x68, 0x1b, 0xa9, 0x80, 0xe4,- 0x00, 0x6a, 0x55, 0x24, 0xeb, 0xc6, 0x3e, 0x21, 0x56, 0x3c, 0xf6, 0xe0, 0x7b, 0x9d, 0x26, 0x55,- 0xfb, 0xd4, 0xf6, 0x0b, 0x54, 0xea, 0x07, 0xa8, 0xfa, 0xd6, 0x87, 0xbe, 0xf6, 0x53, 0xf5, 0x13,- 0xf4, 0xa5, 0xba, 0x7f, 0xec, 0x19, 0x8f, 0xed, 0x8c, 0x29, 0x48, 0x7d, 0xbb, 0x73, 0xee, 0xf9,- 0xef, 0x73, 0xce, 0x3d, 0xbf, 0x81, 0xc5, 0xa3, 0x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 0x65, 0x35, 0x7a, 0x02, 0x5e, 0xd1, 0x37,+ 0xea, 0xb2, 0x67, 0xf6, 0x59, 0xf1, 0x7d, 0x4f, 0x46, 0xfa, 0x9f, 0x19, 0x55, 0xb7, 0x6b, 0x72,+ 0xa7, 0x56, 0xdf, 0x26, 0xe3, 0x38, 0xf7, 0xb4, 0x27, 0x23, 0x03, 0xc8, 0x8d, 0xb0, 0xcd, 0xda,+ 0xfc, 0x89, 0xed, 0xdd, 0x09, 0xf1, 0x4f, 0x96, 0x7b, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb2,+ 0x60, 0x85, 0x8e, 0x7b, 0x19, 0x00, 0x00,}diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.goindex 656d1eec9c..f82b07e29f 100644--- a/weed/server/volume_grpc_erasure_coding.go+++ b/weed/server/volume_grpc_erasure_coding.go@@ -6,6 +6,7 @@ import ("math""os"+ "github.com/chrislusf/seaweedfs/weed/glog""github.com/chrislusf/seaweedfs/weed/operation""github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb""github.com/chrislusf/seaweedfs/weed/storage"@@ -108,3 +109,41 @@ func (vs *VolumeServer) VolumeEcShardsDelete(ctx context.Context, req *volume_sereturn &volume_server_pb.VolumeEcShardsDeleteResponse{}, nil}++func (vs *VolumeServer) VolumeEcShardsMount(ctx context.Context, req *volume_server_pb.VolumeEcShardsMountRequest) (*volume_server_pb.VolumeEcShardsMountResponse, error) {++ for _, shardId := range req.EcIndexes {+ err := vs.store.MountEcShards(req.Collection, needle.VolumeId(req.VolumeId), erasure_coding.ShardId(shardId))++ if err != nil {+ glog.Errorf("ec shard mount %v: %v", req, err)+ } else {+ glog.V(2).Infof("ec shard mount %v", req)+ }++ if err != nil {+ return nil, fmt.Errorf("mount %d.%d: %v", req.VolumeId, shardId, err)+ }+ }++ return &volume_server_pb.VolumeEcShardsMountResponse{}, nil+}++func (vs *VolumeServer) VolumeEcShardsUnmount(ctx context.Context, req *volume_server_pb.VolumeEcShardsUnmountRequest) (*volume_server_pb.VolumeEcShardsUnmountResponse, error) {++ for _, shardId := range req.EcIndexes {+ err := vs.store.UnmountEcShards(needle.VolumeId(req.VolumeId), erasure_coding.ShardId(shardId))++ if err != nil {+ glog.Errorf("ec shard unmount %v: %v", req, err)+ } else {+ glog.V(2).Infof("ec shard unmount %v", req)+ }++ if err != nil {+ return nil, fmt.Errorf("unmount %d.%d: %v", req.VolumeId, shardId, err)+ }+ }++ return &volume_server_pb.VolumeEcShardsUnmountResponse{}, nil+}diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.goindex c9ec2fcd2d..e0d028392f 100644--- a/weed/shell/command_ec_encode.go+++ b/weed/shell/command_ec_encode.go@@ -196,23 +196,36 @@ func oneServerCopyEcShardsFromSource(ctx context.Context, grpcDialOption grpc.DitargetServer *master_pb.DataNodeInfo, startFromShardId uint32, shardCount uint32,volumeId needle.VolumeId, collection string, existingLocation wdclient.Location) (copiedShardIds []uint32, err error) {- if targetServer.Id == existingLocation.Url {- return nil, nil- }-for shardId := startFromShardId; shardId < startFromShardId+shardCount; shardId++ {- fmt.Printf("copy %d.%d %s => %s\n", volumeId, shardId, existingLocation.Url, targetServer.Id)+ fmt.Printf("allocate %d.%d %s => %s\n", volumeId, shardId, existingLocation.Url, targetServer.Id)copiedShardIds = append(copiedShardIds, shardId)}err = operation.WithVolumeServerClient(targetServer.Id, grpcDialOption, func(volumeServerClient volume_server_pb.VolumeServerClient) error {- _, copyErr := volumeServerClient.VolumeEcShardsCopy(ctx, &volume_server_pb.VolumeEcShardsCopyRequest{- VolumeId: uint32(volumeId),- Collection: collection,- EcIndexes: copiedShardIds,- SourceDataNode: existingLocation.Url,++ if targetServer.Id != existingLocation.Url {++ _, copyErr := volumeServerClient.VolumeEcShardsCopy(ctx, &volume_server_pb.VolumeEcShardsCopyRequest{+ VolumeId: uint32(volumeId),+ Collection: collection,+ EcIndexes: copiedShardIds,+ SourceDataNode: existingLocation.Url,+ })+ if copyErr != nil {+ return copyErr+ }+ }++ _, mountErr := volumeServerClient.VolumeEcShardsMount(ctx, &volume_server_pb.VolumeEcShardsMountRequest{+ VolumeId: uint32(volumeId),+ Collection: collection,+ EcIndexes: copiedShardIds,})- return copyErr+ if mountErr != nil {+ return mountErr+ }++ return nil})if err != nil {diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.goindex 3b2f1ec02d..05acbb98be 100644--- a/weed/storage/disk_location_ec.go+++ b/weed/storage/disk_location_ec.go@@ -16,26 +16,83 @@ var (re = regexp.MustCompile("\\.ec[0-9][0-9]"))-func (l *DiskLocation) loadEcShards(baseName string, shards []string, collection string, vid needle.VolumeId) (err error){+func (l *DiskLocation) FindEcShard(vid needle.VolumeId, shardId erasure_coding.ShardId) (*erasure_coding.EcVolumeShard, bool) {+ l.ecShardsLock.RLock()+ defer l.ecShardsLock.RUnlock()- for _, shard := range shards{+ ecShards, ok := l.ecShards[vid]+ if !ok {+ return nil, false+ }+ for _, ecShard := range ecShards {+ if ecShard.ShardId == shardId {+ return ecShard, true+ }+ }+ return nil, false+}++func (l *DiskLocation) LoadEcShard(collection string, vid needle.VolumeId, shardId erasure_coding.ShardId) (err error) {++ ecVolumeShard, err := erasure_coding.NewEcVolumeShard(l.Directory, collection, vid, shardId)+ if err != nil {+ return fmt.Errorf("failed to create ec shard %d.%d: %v", vid, shardId, err)+ }+ l.ecShardsLock.Lock()+ l.ecShards[vid] = append(l.ecShards[vid], ecVolumeShard)+ l.ecShardsLock.Unlock()++ return nil+}++func (l *DiskLocation) UnloadEcShard(vid needle.VolumeId, shardId erasure_coding.ShardId) bool {++ l.ecShardsLock.Lock()+ defer l.ecShardsLock.Unlock()++ vidShards, found := l.ecShards[vid]+ if !found {+ return false+ }+ shardIndex := -1+ for i, shard := range vidShards {+ if shard.ShardId == shardId {+ shardIndex = i+ break+ }+ }+ if shardIndex < 0 {+ return false+ }++ if len(vidShards) == 1 {+ delete(l.ecShards, vid)+ return true+ }++ l.ecShards[vid] = append(vidShards[:shardIndex], vidShards[shardIndex+1:]...)++ return true+}++func (l *DiskLocation) loadEcShards(shards []string, collection string, vid needle.VolumeId) (err error) {++ for _, shard := range shards {shardId, err := strconv.ParseInt(path.Ext(shard)[3:], 10, 64)if err != nil {return fmt.Errorf("failed to parse ec shard name %v: %v", shard, err)}- ecVolumeShard, err := erasure_coding.NewEcVolumeShard(l.Directory, collection, vid, int(shardId))++ err = l.LoadEcShard(collection, vid, erasure_coding.ShardId(shardId))if err != nil {- return fmt.Errorf("failed to create ec shard %v: %v", shard, err)+ return fmt.Errorf("failed to load ec shard %v: %v", shard, err)}- l.ecShardsLock.Lock()- l.ecShards[vid] = append(l.ecShards[vid], ecVolumeShard)- l.ecShardsLock.Unlock()}return nil}-func (l *DiskLocation) loadAllEcShards() (err error){+func (l *DiskLocation) loadAllEcShards() (err error) {fileInfos, err := ioutil.ReadDir(l.Directory)if err != nil {@@ -48,8 +105,8 @@ func (l *DiskLocation) loadAllEcShards() (err error){var sameVolumeShards []stringvar prevVolumeId needle.VolumeId- for _, fileInfo := range fileInfos{- if fileInfo.IsDir(){+ for _, fileInfo := range fileInfos {+ if fileInfo.IsDir() {continue}ext := path.Ext(fileInfo.Name())@@ -61,18 +118,18 @@ func (l *DiskLocation) loadAllEcShards() (err error){continue}- if re.MatchString(ext){+ if re.MatchString(ext) {if prevVolumeId == 0 || volumeId == prevVolumeId {sameVolumeShards = append(sameVolumeShards, fileInfo.Name())- }else{+ } else {sameVolumeShards = []string{fileInfo.Name()}}prevVolumeId = volumeIdcontinue}- if ext == ".ecx" && volumeId == prevVolumeId{- if err = l.loadEcShards(baseName, sameVolumeShards, collection, volumeId);err!=nil{+ if ext == ".ecx" && volumeId == prevVolumeId {+ if err = l.loadEcShards(sameVolumeShards, collection, volumeId); err != nil {return fmt.Errorf("loadEcShards collection:%v volumeId:%d : %v", collection, volumeId, err)}prevVolumeId = volumeIddiff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.goindex f10f62135b..11dcd0860c 100644--- a/weed/storage/erasure_coding/ec_volume.go+++ b/weed/storage/erasure_coding/ec_volume.go@@ -24,16 +24,16 @@ type EcVolumeShard struct {}type EcVolumeShards []*EcVolumeShard-func NewEcVolumeShard(dirname string, collection string, id needle.VolumeId, shardId int) (v *EcVolumeShard, e error) {+func NewEcVolumeShard(dirname string, collection string, id needle.VolumeId, shardId ShardId) (v *EcVolumeShard, e error) {- v = &EcVolumeShard{dir: dirname, Collection: collection, VolumeId: id, ShardId: ShardId(shardId)}+ v = &EcVolumeShard{dir: dirname, Collection: collection, VolumeId: id, ShardId: shardId}baseFileName := v.FileName()if v.ecxFile, e = os.OpenFile(baseFileName+".ecx", os.O_RDONLY, 0644); e != nil {return nil, fmt.Errorf("cannot read ec volume index %s.ecx: %v", baseFileName, e)}- if v.ecdFile, e = os.OpenFile(baseFileName+ToExt(shardId), os.O_RDONLY, 0644); e != nil {- return nil, fmt.Errorf("cannot read ec volume shard %s.%s: %v", baseFileName, ToExt(shardId), e)+ if v.ecdFile, e = os.OpenFile(baseFileName+ToExt(int(shardId)), os.O_RDONLY, 0644); e != nil {+ return nil, fmt.Errorf("cannot read ec volume shard %s.%s: %v", baseFileName, ToExt(int(shardId)), e)}returndiff --git a/weed/storage/store.go b/weed/storage/store.goindex d9c9b0e353..6aeced465c 100644--- a/weed/storage/store.go+++ b/weed/storage/store.go@@ -271,6 +271,7 @@ func (s *Store) UnmountVolume(i needle.VolumeId) error {Version: uint32(v.Version()),Ttl: v.Ttl.ToUint32(),}+for _, location := range s.Locations {if err := location.UnloadVolume(i); err == nil {glog.V(0).Infof("UnmountVolume %d", i)diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.goindex 241adb24ee..ad935609df 100644--- a/weed/storage/store_ec.go+++ b/weed/storage/store_ec.go@@ -1,7 +1,12 @@package storageimport (+ "fmt"++ "github.com/chrislusf/seaweedfs/weed/glog""github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"+ "github.com/chrislusf/seaweedfs/weed/storage/needle")func (s *Store) CollectErasureCodingHeartbeat() *master_pb.Heartbeat {@@ -19,3 +24,56 @@ func (s *Store) CollectErasureCodingHeartbeat() *master_pb.Heartbeat {}}++func (s *Store) MountEcShards(collection string, vid needle.VolumeId, shardId erasure_coding.ShardId) error {+ for _, location := range s.Locations {+ if err := location.LoadEcShard(collection, vid, shardId); err == nil {+ glog.V(0).Infof("MountEcShards %d.%d", vid, shardId)++ var shardBits erasure_coding.ShardBits++ s.NewEcShardsChan <- master_pb.VolumeEcShardInformationMessage{+ Id: uint32(vid),+ Collection: collection,+ EcIndexBits: uint32(shardBits.AddShardId(shardId)),+ }+ return nil+ }+ }++ return fmt.Errorf("MountEcShards %d.%d not found on disk", vid, shardId)+}++func (s *Store) UnmountEcShards(vid needle.VolumeId, shardId erasure_coding.ShardId) error {++ ecShard, found := s.findEcShard(vid, shardId)+ if !found {+ return nil+ }++ var shardBits erasure_coding.ShardBits+ message := master_pb.VolumeEcShardInformationMessage{+ Id: uint32(vid),+ Collection: ecShard.Collection,+ EcIndexBits: uint32(shardBits.AddShardId(shardId)),+ }++ for _, location := range s.Locations {+ if deleted := location.UnloadEcShard(vid, shardId); deleted {+ glog.V(0).Infof("UnmountEcShards %d.%d", vid, shardId)+ s.DeletedEcShardsChan <- message+ return nil+ }+ }++ return fmt.Errorf("UnmountEcShards %d.%d not found on disk", vid, shardId)+}++func (s *Store) findEcShard(vid needle.VolumeId, shardId erasure_coding.ShardId) (*erasure_coding.EcVolumeShard, bool) {+ for _, location := range s.Locations {+ if v, found := location.FindEcShard(vid, shardId); found {+ return v, found+ }+ }+ return nil, false+}