diff --git a/cluster.go b/cluster.go index 8860d8405..2841bd5bc 100644 --- a/cluster.go +++ b/cluster.go @@ -684,6 +684,8 @@ func (c *Cluster) generateResizeJob(addURI URI) *ResizeJob { toCluster.ReplicaN = c.ReplicaN toCluster.AddNodeBasicSorted(addURI) + pbSchema := c.Holder.EncodeSchema() + // Add to the ResizeJob the instructions for each index. for _, idx := range c.Holder.Indexes() { // dataDiff is map[string][]*internal.ResizeSource, where string is @@ -696,11 +698,14 @@ func (c *Cluster) generateResizeJob(addURI URI) *ResizeJob { j.URIs[uri] = true continue } + // TODO: we can probably consilidate the instructions that go to the same + // node but apply to different indexes. (i.e. don't nest this in the Indexes() loop) instr := &internal.ResizeInstruction{ JobID: j.ID, URI: uri.Encode(), Coordinator: encodeURI(c.Coordinator), Sources: sources, + Schema: pbSchema, } j.Instructions = append(j.Instructions, instr) } @@ -734,6 +739,34 @@ func (c *Cluster) followResizeInstruction(instr *internal.ResizeInstruction) { // Stop processing on any error. if err := func() error { + + // TODO: move this schema creation code to a method on Holder. + // Sync the schema received in the resize instruction. + // Create indexes that don't exist. + for _, index := range instr.Schema.Indexes { + opt := IndexOptions{} + idx, err := c.Holder.CreateIndexIfNotExists(index.Name, opt) + if err != nil { + return err + } + // Create frames that don't exist. + for _, f := range index.Frames { + opt := decodeFrameOptions(f.Meta) + frame, err := idx.CreateFrameIfNotExists(f.Name, *opt) + if err != nil { + return err + } + // Create views that don't exist. + for _, v := range f.Views { + _, err := frame.CreateViewIfNotExists(v) + if err != nil { + return err + } + } + } + // TODO: Create inputDefinitions that don't exist. + } + // Create a client for calling remote nodes. client, err := NewClientFromURI(&c.URI, nil) // TODO: ClientOptions if err != nil { @@ -746,11 +779,6 @@ func (c *Cluster) followResizeInstruction(instr *internal.ResizeInstruction) { srcURI := decodeURI(src.URI) - // TODO: there's a possible race condition here; - // if NodeStatus has not been shared with the joining - // node (and the schema created locally), then - // the following Frame() lookup could fail. - // Retrieve frame. f := c.Holder.Frame(src.Index, src.Frame) if f == nil { diff --git a/internal/private.pb.go b/internal/private.pb.go index 421179ca6..2c5355f69 100644 --- a/internal/private.pb.go +++ b/internal/private.pb.go @@ -802,6 +802,7 @@ type ResizeInstruction struct { URI *URI `protobuf:"bytes,2,opt,name=URI" json:"URI,omitempty"` Coordinator *URI `protobuf:"bytes,3,opt,name=Coordinator" json:"Coordinator,omitempty"` Sources []*ResizeSource `protobuf:"bytes,4,rep,name=Sources" json:"Sources,omitempty"` + Schema *Schema `protobuf:"bytes,5,opt,name=Schema" json:"Schema,omitempty"` } func (m *ResizeInstruction) Reset() { *m = ResizeInstruction{} } @@ -837,6 +838,13 @@ func (m *ResizeInstruction) GetSources() []*ResizeSource { return nil } +func (m *ResizeInstruction) GetSchema() *Schema { + if m != nil { + return m.Schema + } + return nil +} + type ResizeSource struct { URI *URI `protobuf:"bytes,1,opt,name=URI" json:"URI,omitempty"` Index string `protobuf:"bytes,2,opt,name=Index,proto3" json:"Index,omitempty"` @@ -2026,6 +2034,16 @@ func (m *ResizeInstruction) MarshalTo(dAtA []byte) (int, error) { i += n } } + if m.Schema != nil { + dAtA[i] = 0x2a + i++ + i = encodeVarintPrivate(dAtA, i, uint64(m.Schema.Size())) + n16, err := m.Schema.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n16 + } return i, nil } @@ -2048,11 +2066,11 @@ func (m *ResizeSource) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPrivate(dAtA, i, uint64(m.URI.Size())) - n16, err := m.URI.MarshalTo(dAtA[i:]) + n17, err := m.URI.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n16 + i += n17 } if len(m.Index) > 0 { dAtA[i] = 0x12 @@ -2104,11 +2122,11 @@ func (m *ResizeInstructionComplete) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintPrivate(dAtA, i, uint64(m.URI.Size())) - n17, err := m.URI.MarshalTo(dAtA[i:]) + n18, err := m.URI.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n17 + i += n18 } if len(m.Error) > 0 { dAtA[i] = 0x1a @@ -2623,6 +2641,10 @@ func (m *ResizeInstruction) Size() (n int) { n += 1 + l + sovPrivate(uint64(l)) } } + if m.Schema != nil { + l = m.Schema.Size() + n += 1 + l + sovPrivate(uint64(l)) + } return n } @@ -6292,6 +6314,39 @@ func (m *ResizeInstruction) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPrivate + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPrivate + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Schema == nil { + m.Schema = &Schema{} + } + if err := m.Schema.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPrivate(dAtA[iNdEx:]) @@ -6822,77 +6877,77 @@ var ( func init() { proto.RegisterFile("private.proto", fileDescriptorPrivate) } var fileDescriptorPrivate = []byte{ - // 1144 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xcd, 0x6e, 0x23, 0x45, - 0x10, 0x66, 0x3c, 0xb6, 0x63, 0x97, 0xe3, 0x8d, 0xd3, 0x84, 0xc8, 0x89, 0x22, 0xaf, 0xe9, 0x03, - 0x09, 0x2b, 0x11, 0x20, 0x91, 0x10, 0x04, 0x21, 0xc1, 0xc6, 0x5e, 0xed, 0x00, 0x09, 0x4b, 0x3b, - 0xbb, 0x48, 0x1c, 0x90, 0x3a, 0x76, 0x93, 0x8c, 0x32, 0x9e, 0x31, 0x33, 0xed, 0x24, 0xde, 0x03, - 0x37, 0x38, 0xc0, 0x0b, 0x70, 0xe7, 0xcc, 0x7b, 0x70, 0xe4, 0x11, 0x50, 0x78, 0x08, 0x24, 0x2e, - 0xac, 0xba, 0xa6, 0x7b, 0x66, 0xfc, 0x17, 0x2b, 0xb9, 0x4d, 0x55, 0x57, 0x55, 0x7f, 0xfd, 0xd5, - 0x4f, 0xf7, 0x40, 0x75, 0x10, 0xba, 0x97, 0x5c, 0x8a, 0xdd, 0x41, 0x18, 0xc8, 0x80, 0x94, 0x5c, - 0x5f, 0x8a, 0xd0, 0xe7, 0x1e, 0xfd, 0x0a, 0xca, 0x8e, 0xdf, 0x13, 0xd7, 0x47, 0x42, 0x72, 0xd2, - 0x84, 0xca, 0x61, 0xe0, 0x0d, 0xfb, 0xfe, 0x97, 0xfc, 0x54, 0x78, 0x75, 0xab, 0x69, 0xed, 0x94, - 0x59, 0x56, 0xa5, 0x2c, 0x4e, 0xdc, 0xbe, 0xf8, 0x7a, 0xc8, 0x7d, 0x39, 0xec, 0xd7, 0x73, 0xb1, - 0x45, 0x46, 0x45, 0xff, 0xb3, 0xa0, 0xfc, 0x24, 0xe4, 0x7d, 0x81, 0x11, 0x37, 0xa1, 0xc4, 0x82, - 0xab, 0x6c, 0xb8, 0x44, 0x26, 0x6f, 0xc1, 0x03, 0xc7, 0xbf, 0x14, 0x61, 0x24, 0xda, 0x3e, 0x3f, - 0xf5, 0x44, 0x0f, 0xc3, 0x95, 0xd8, 0x84, 0x96, 0x6c, 0x41, 0xf9, 0x90, 0x77, 0xcf, 0xc5, 0xc9, - 0x68, 0x20, 0xea, 0x36, 0x06, 0x49, 0x15, 0xc9, 0x6a, 0xc7, 0x7d, 0x29, 0xea, 0xf9, 0xa6, 0xb5, - 0x53, 0x65, 0xa9, 0x62, 0x12, 0x6f, 0x61, 0x0a, 0x2f, 0xa1, 0xb0, 0xcc, 0xb8, 0x7f, 0x96, 0x60, - 0x28, 0x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cf, 0x3d, 0x61, 0x9e, 0x31, 0x76, - 0xe6, 0x19, 0xf3, 0x87, 0x05, 0xab, 0x4c, 0x44, 0xee, 0x4b, 0xe1, 0xf8, 0x91, 0x0c, 0x87, 0x49, - 0xfb, 0x7d, 0x1e, 0x9c, 0x3a, 0x2d, 0x8c, 0x6a, 0xb3, 0x58, 0x30, 0x39, 0xca, 0xcd, 0xcd, 0xd1, - 0xbb, 0xea, 0xe1, 0x1b, 0x84, 0x3d, 0xd5, 0x83, 0x41, 0xa8, 0x59, 0x9f, 0x30, 0xcc, 0x5a, 0x90, - 0xf7, 0x60, 0xa9, 0x13, 0x0c, 0xc3, 0x6e, 0x32, 0xa0, 0xd7, 0x53, 0xe3, 0x18, 0x55, 0xbc, 0xcc, - 0x8c, 0x19, 0xfd, 0xc9, 0x82, 0xe5, 0xec, 0xca, 0xe2, 0xc2, 0x49, 0x18, 0xca, 0xcd, 0x64, 0xc8, - 0x9e, 0xc5, 0x50, 0x3e, 0x65, 0x28, 0x7d, 0x54, 0x14, 0x32, 0x8f, 0x0a, 0x7a, 0x0e, 0x1b, 0x53, - 0xb4, 0x1d, 0x06, 0xfd, 0x81, 0xca, 0xcf, 0x7d, 0xe9, 0x5b, 0x83, 0x42, 0x3b, 0x0c, 0x35, 0x71, - 0x65, 0x16, 0x0b, 0x74, 0x1f, 0x4a, 0x27, 0xc1, 0x20, 0xf0, 0x82, 0xb3, 0x51, 0xb6, 0x00, 0xad, - 0xdb, 0x0a, 0xf0, 0x71, 0xed, 0xcf, 0x9b, 0x86, 0xf5, 0xd7, 0x4d, 0xc3, 0xfa, 0xfb, 0xa6, 0x61, - 0xfd, 0xf6, 0x4f, 0xe3, 0xb5, 0xd3, 0x22, 0xfe, 0xb2, 0xec, 0xbf, 0x0a, 0x00, 0x00, 0xff, 0xff, - 0x18, 0x9c, 0xa1, 0x75, 0xc3, 0x0c, 0x00, 0x00, + // 1149 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00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0x08, 0x23, 0xd1, 0xf6, 0xf9, 0xa9, + 0x27, 0x7a, 0x18, 0xae, 0xc4, 0x26, 0xb4, 0x64, 0x0b, 0xca, 0x87, 0xbc, 0x7b, 0x2e, 0x4e, 0x46, + 0x03, 0x51, 0xb7, 0x31, 0x48, 0xaa, 0x48, 0x56, 0x3b, 0xee, 0x4b, 0x51, 0xcf, 0x37, 0xad, 0x9d, + 0x2a, 0x4b, 0x15, 0x93, 0x78, 0x0b, 0x53, 0x78, 0x09, 0x85, 0x65, 0xc6, 0xfd, 0xb3, 0x04, 0x43, + 0x11, 0x31, 0x8c, 0xe9, 0xc8, 0x36, 0x14, 0x9f, 0xb8, 0xc2, 0xeb, 0x45, 0xf5, 0xa5, 0xa6, 0xbd, + 0x53, 0xd9, 0x5b, 0xd9, 0x35, 0xfc, 0xed, 0xa2, 0x9e, 0xe9, 0x65, 0x4a, 0xe1, 0x81, 0xd3, 0x1f, + 0x04, 0xa1, 0x64, 0x22, 0x1a, 0x04, 0x7e, 0x24, 0x48, 0x0d, 0xec, 0x76, 0x18, 0xea, 0xb3, 0xab, + 0x4f, 0xfa, 0x23, 0xd4, 0x1e, 0x7b, 0x41, 0xf7, 0xa2, 0xc5, 0x25, 0x67, 0xe2, 0x87, 0xa1, 0x88, + 0x24, 0x59, 0x83, 0x02, 0x66, 0x41, 0xdb, 0xc5, 0x82, 0xd2, 0x22, 0x93, 0x9a, 0xe6, 0x58, 0x50, + 0x5a, 0xf4, 0x47, 0x2a, 0xf2, 0x2c, 0x16, 0x94, 0xb6, 0xe3, 0xb9, 0xdd, 0x98, 0x82, 0x3c, 0x8b, + 0x05, 0x42, 0x20, 0xff, 0xc2, 0x15, 0x57, 0xfa, 0xdc, 0xf8, 0x4d, 0x1d, 0x58, 0xcd, 0xec, 0xaf, + 0x61, 0xae, 0x43, 0x91, 0x05, 0x57, 0x4e, 0x2b, 0xaa, 0x5b, 0x4d, 0x7b, 0x27, 0xcf, 0xb4, 0x84, + 0xec, 0x62,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, 0x74, 0x12, 0x0c, 0x02, 0x2f, 0x38, + 0x1b, 0x65, 0x4b, 0xd5, 0xba, 0xad, 0x54, 0x1f, 0xd7, 0xfe, 0xb8, 0x69, 0x58, 0x7f, 0xde, 0x34, + 0xac, 0xbf, 0x6f, 0x1a, 0xd6, 0x6f, 0xff, 0x34, 0x5e, 0x3b, 0x2d, 0xe2, 0xcf, 0xcd, 0xfe, 0xab, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x09, 0x36, 0x2c, 0xed, 0x0c, 0x00, 0x00, } diff --git a/internal/private.proto b/internal/private.proto index 404b53e12..56c402eca 100644 --- a/internal/private.proto +++ b/internal/private.proto @@ -150,6 +150,7 @@ message ResizeInstruction { URI URI = 2; URI Coordinator = 3; repeated ResizeSource Sources = 4; + Schema Schema = 5; } message ResizeSource {