From d963c95b041f878987f902c059774aa6ce21718f Mon Sep 17 00:00:00 2001 From: xige-16 Date: Mon, 15 May 2023 16:15:21 +0800 Subject: [PATCH] Create collection with multi partitions (#153) Signed-off-by: xige-16 --- go-api/msgpb/msg.pb.go | 114 ++++++++++++++++++++++------------------- proto/msg.proto | 3 +- 2 files changed, 63 insertions(+), 54 deletions(-) diff --git a/go-api/msgpb/msg.pb.go b/go-api/msgpb/msg.pb.go index f026f9d..485232b 100644 --- a/go-api/msgpb/msg.pb.go +++ b/go-api/msgpb/msg.pb.go @@ -402,6 +402,7 @@ type CreateCollectionRequest struct { Schema []byte `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"` VirtualChannelNames []string `protobuf:"bytes,9,rep,name=virtualChannelNames,proto3" json:"virtualChannelNames,omitempty"` PhysicalChannelNames []string `protobuf:"bytes,10,rep,name=physicalChannelNames,proto3" json:"physicalChannelNames,omitempty"` + PartitionIDs []int64 `protobuf:"varint,11,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -502,6 +503,13 @@ func (m *CreateCollectionRequest) GetPhysicalChannelNames() []string { return nil } +func (m *CreateCollectionRequest) GetPartitionIDs() []int64 { + if m != nil { + return m.PartitionIDs + } + return nil +} + type DropCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` @@ -865,57 +873,57 @@ func init() { func init() { proto.RegisterFile("msg.proto", fileDescriptor_c06e4cca6c2cc899) } var fileDescriptor_c06e4cca6c2cc899 = []byte{ - // 820 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x5d, 0x6f, 0xdc, 0x44, - 0x14, 0xc5, 0x6b, 0x67, 0x3f, 0xae, 0xbd, 0x9b, 0x30, 0x84, 0xd4, 0x8d, 0xaa, 0xca, 0x35, 0x5f, - 0x2b, 0x44, 0x37, 0xd1, 0x52, 0xf1, 0x82, 0x50, 0xa5, 0xc4, 0x02, 0x56, 0x28, 0x55, 0x34, 0x8d, - 0x78, 0xe0, 0x65, 0x35, 0x5e, 0x0f, 0x5e, 0xab, 0x1e, 0x8f, 0xf1, 0x8c, 0xb3, 0xca, 0x1b, 0xcf, - 0x20, 0xfe, 0x14, 0x4f, 0x20, 0xf1, 0xa3, 0x90, 0x67, 0xbc, 0xeb, 0xec, 0x47, 0x5b, 0xa8, 0x04, - 0xea, 0x43, 0xde, 0x7c, 0xef, 0x3d, 0xf7, 0x5e, 0xcf, 0x39, 0x47, 0x63, 0x43, 0x8f, 0x89, 0x78, - 0x94, 0x17, 0x5c, 0x72, 0x74, 0xc0, 0x92, 0xf4, 0xba, 0x14, 0x3a, 0x1a, 0x31, 0x11, 0x1f, 0x3b, - 0x33, 0xce, 0x18, 0xcf, 0x74, 0xe6, 0xd8, 0x11, 0xb3, 0x39, 0x65, 0x44, 0x47, 0xfe, 0x9f, 0x16, - 0xf4, 0x27, 0x99, 0xa0, 0x85, 0xc4, 0xf4, 0xa7, 0x92, 0x0a, 0x89, 0x4e, 0xc1, 0x0a, 0x89, 0xa0, - 0xae, 0xe1, 0x19, 0x43, 0x7b, 0xfc, 0x60, 0xb4, 0x36, 0xae, 0x9e, 0x74, 0x21, 0xe2, 0x33, 0x22, - 0x28, 0x56, 0x48, 0xf4, 0x00, 0x7a, 0x62, 0x4e, 0x8a, 0xe8, 0x19, 0x61, 0xd4, 0x6d, 0x79, 0xc6, - 0xb0, 0x87, 0x9b, 0x04, 0xba, 0x07, 0x9d, 0x28, 0x9c, 0x66, 0x55, 0xcd, 0x54, 0xb5, 0x76, 0x14, - 0xaa, 0xc2, 0x27, 0xb0, 0x3f, 0xe3, 0x69, 0x4a, 0x67, 0x32,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c, 0xef, 0x6e, 0x7d, 0xeb, - 0x91, 0x03, 0x5d, 0xcc, 0x17, 0xd5, 0x0b, 0x47, 0x07, 0xef, 0xa0, 0x7d, 0xb0, 0xcf, 0x79, 0x5a, - 0xb2, 0x4c, 0x27, 0x8c, 0xb3, 0xd3, 0x1f, 0x46, 0x71, 0x22, 0xe7, 0x65, 0x58, 0x2d, 0x38, 0xd1, - 0x1b, 0x1f, 0x27, 0x7c, 0xf9, 0xa4, 0x76, 0x9f, 0xc4, 0xfc, 0x31, 0xc9, 0x93, 0x13, 0x26, 0xe2, - 0x3c, 0x0c, 0xdb, 0x2a, 0xf7, 0xf9, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x44, 0xd7, 0xd3, 0x46, - 0xc1, 0x0a, 0x00, 0x00, + // 829 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x4d, 0x8f, 0xdb, 0x44, + 0x18, 0xc6, 0xb1, 0x37, 0x1f, 0xaf, 0x9d, 0xec, 0x32, 0x2c, 0x5b, 0x77, 0x55, 0x55, 0xae, 0xf9, + 0x8a, 0x10, 0xcd, 0xae, 0x42, 0xc5, 0x05, 0xa1, 0x4a, 0xbb, 0x16, 0x10, 0xa1, 0xad, 0x56, 0xd3, + 0x15, 0x07, 0x2e, 0xd1, 0x24, 0x19, 0x1c, 0xab, 0x1e, 0x8f, 0xf1, 0x8c, 0x37, 0xca, 0x8d, 0x3b, + 0xe2, 0xaf, 0xf0, 0x23, 0x38, 0x81, 0xc4, 0x8f, 0x42, 0x9e, 0x71, 0xe2, 0x38, 0x49, 0x5b, 0xa8, + 0x04, 0xea, 0x61, 0x6f, 0x7e, 0x9f, 0xf7, 0x6b, 0xe6, 0x7d, 0x1e, 0xbd, 0x1e, 0xe8, 0x30, 0x11, + 0x0e, 0xd2, 0x8c, 0x4b, 0x8e, 0x8e, 0x58, 0x14, 0xdf, 0xe6, 0x42, 0x5b, 0x03, 0x26, 0xc2, 0x53, + 0x67, 0xca, 0x19, 0xe3, 0x89, 0x46, 0x4e, 0x1d, 0x31, 0x9d, 0x53, 0x46, 0xb4, 0xe5, 0xff, 0x69, + 0x41, 0x77, 0x94, 0x08, 0x9a, 0x49, 0x4c, 0x7f, 0xca, 0xa9, 0x90, 0xe8, 0x1c, 0xac, 0x09, 0x11, + 0xd4, 0x35, 0x3c, 0xa3, 0x6f, 0x0f, 0x1f, 0x0c, 0x6a, 0xe5, 0xca, 0x4a, 0x57, 0x22, 0xbc, 0x20, + 0x82, 0x62, 0x15, 0x89, 0x1e, 0x40, 0x47, 0xcc, 0x49, 0x36, 0x7b, 0x46, 0x18, 0x75, 0x1b, 0x9e, + 0xd1, 0xef, 0xe0, 0x0a, 0x40, 0xf7, 0xa0, 0x35, 0x9b, 0x8c, 0x93, 0xc2, 0x67, 0x2a, 0x5f, 0x73, + 0x36, 0x51, 0x8e, 0x4f, 0xe0, 0x70, 0xca, 0xe3, 0x98, 0x4e, 0x65, 0xc4, 0x13, 0x1d, 0x60, 0xa9, + 0x80, 0x5e, 0x05, 0xab, 0xc0, 0x8f, 0xa0, 0x97, 0x92, 0x4c, 0x46, 0x55, 0xdc, 0x81, 0x8a, 0xeb, + 0xae, 0x51, 0x15, 0x86, 0xc0, 0x9a, 0x4d, 0x46, 0x81, 0xdb, 0xf4, 0x8c, 0xbe, 0x89, 0xd5, 0x37, + 0xf2, 0xc1, 0xa9, 0x8a, 0x8d, 0x02, 0xb7, 0xa5, 0x7c, 0x35, 0x0c, 0x79, 0x60, 0xaf, 0x0b, 0x8d, + 0x02, 0xb7, 0xad, 0x42, 0x36, 0x21, 0x75, 0x41, 0x1a, 0x32, 0x9a, 0xc8, 0x51, 0xe0, 0x76, 0x94, + 0xbf, 0x02, 0xd0, 0x43, 0x00, 0x19, 0x31, 0x2a, 0x24, 0x61, 0xa9, 0x70, 0xc1, 0x33, 0xfb, 0x16, + 0xde, 0x40, 0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+ 0x68, 0xd5, 0x5d, 0xaf, 0xee, 0xf6, 0x1f, 0xdc, 0x62, 0xcf, 0xba, 0x32, 0xff, 0xe1, 0xba, 0xfa, + 0x7f, 0x65, 0xe7, 0xff, 0xd2, 0x80, 0xe3, 0x82, 0xd4, 0xbb, 0x69, 0x14, 0xd3, 0x78, 0x0a, 0xf6, + 0x4d, 0xc4, 0xe8, 0x4d, 0x34, 0x7d, 0x71, 0x25, 0xc2, 0x7f, 0x3f, 0x03, 0xff, 0x2f, 0x03, 0xba, + 0xc5, 0xbf, 0xf3, 0x19, 0x9f, 0xd1, 0x1b, 0xf9, 0x46, 0x35, 0x76, 0x76, 0x71, 0x63, 0x77, 0x17, + 0xd7, 0x36, 0xab, 0xb9, 0xb5, 0x59, 0xd1, 0xb7, 0xd0, 0x2b, 0x5f, 0x2f, 0x62, 0x2c, 0x24, 0x91, + 0xc2, 0xb5, 0xd4, 0x2b, 0xe2, 0xd1, 0xde, 0xe6, 0xcf, 0x75, 0xe8, 0xf3, 0x22, 0x10, 0x77, 0x57, + 0x89, 0xca, 0xfc, 0x74, 0x08, 0xef, 0xee, 0xbc, 0x07, 0x90, 0x03, 0x6d, 0xcc, 0x17, 0xc5, 0x81, + 0x67, 0x47, 0xef, 0xa0, 0x43, 0xb0, 0x2f, 0x79, 0x9c, 0xb3, 0x44, 0x03, 0xc6, 0xc5, 0xf9, 0x0f, + 0x83, 0x30, 0x92, 0xf3, 0x7c, 0x52, 0x34, 0x38, 0xd3, 0x1d, 0x1f, 0x47, 0x7c, 0xf5, 0xa5, 0x7a, + 0x9f, 0x85, 0xfc, 0x31, 0x49, 0xa3, 0x33, 0x26, 0xc2, 0x74, 0x32, 0x69, 0x2a, 0xec, 0xf3, 0xbf, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x02, 0x50, 0x35, 0xe5, 0x0a, 0x00, 0x00, } diff --git a/proto/msg.proto b/proto/msg.proto index 9bcff83..817d5bf 100644 --- a/proto/msg.proto +++ b/proto/msg.proto @@ -60,10 +60,11 @@ message CreateCollectionRequest { // `schema` is the serialized `schema.CollectionSchema` int64 dbID = 5; int64 collectionID = 6; - int64 partitionID = 7; + int64 partitionID = 7; // deprecated bytes schema = 8; repeated string virtualChannelNames = 9; repeated string physicalChannelNames = 10; + repeated int64 partitionIDs = 11; } message DropCollectionRequest {