mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
e8ceb37f81
Updata PhysicalChannelNames and VirtualChannelNames based on ShardsNum when create collection, and update collVChan2Chan map. Resolves: #5240 Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
91 lines
1.9 KiB
Protocol Buffer
91 lines
1.9 KiB
Protocol Buffer
syntax = "proto3";
|
|
package milvus.proto.etcd;
|
|
option go_package="github.com/milvus-io/milvus/internal/proto/etcdpb";
|
|
|
|
import "common.proto";
|
|
import "schema.proto";
|
|
|
|
message TenantMeta {
|
|
int64 ID = 1;
|
|
int64 num_query_nodes = 2;
|
|
repeated string insert_channelIDs = 3;
|
|
string query_channelID = 4;
|
|
}
|
|
|
|
message ProxyMeta {
|
|
int64 ID = 1;
|
|
common.Address address = 2;
|
|
repeated string result_channelIDs = 3;
|
|
}
|
|
|
|
message PartitionInfo {
|
|
string partition_name = 1;
|
|
int64 partitionID = 2;
|
|
repeated int64 segmentIDs = 3;
|
|
}
|
|
|
|
message IndexInfo {
|
|
string index_name = 1;
|
|
int64 indexID = 2;
|
|
repeated common.KeyValuePair index_params = 3;
|
|
}
|
|
|
|
message FieldIndexInfo{
|
|
int64 filedID = 1;
|
|
int64 indexID = 2;
|
|
}
|
|
|
|
message CollectionInfo {
|
|
int64 ID = 1;
|
|
schema.CollectionSchema schema = 2;
|
|
uint64 create_time = 3;
|
|
repeated int64 partitionIDs = 4;
|
|
repeated FieldIndexInfo field_indexes = 5;
|
|
repeated string virtual_channel_names = 6;
|
|
repeated string physical_channel_names = 7;
|
|
}
|
|
|
|
message SegmentIndexInfo {
|
|
int64 segmentID = 1;
|
|
int64 fieldID = 2;
|
|
int64 indexID = 3;
|
|
int64 buildID = 4;
|
|
bool enable_index = 5;
|
|
}
|
|
|
|
message CollectionMeta {
|
|
int64 ID=1;
|
|
schema.CollectionSchema schema=2;
|
|
uint64 create_time=3;
|
|
repeated int64 segmentIDs=4;
|
|
repeated string partition_tags=5;
|
|
repeated int64 partitionIDs=6;
|
|
}
|
|
|
|
message FieldBinlogFiles {
|
|
int64 fieldID = 1;
|
|
repeated string binlog_files = 2;
|
|
}
|
|
|
|
message SegmentMeta {
|
|
int64 segmentID=1;
|
|
int64 collectionID =2;
|
|
string partition_tag=3;
|
|
int32 channel_start=4;
|
|
int32 channel_end=5;
|
|
uint64 open_time=6;
|
|
uint64 close_time=7;
|
|
int64 num_rows=8;
|
|
int64 mem_size=9;
|
|
repeated FieldBinlogFiles binlog_file_paths = 10;
|
|
}
|
|
|
|
message FieldIndexMeta {
|
|
int64 segmentID = 1;
|
|
int64 fieldID = 2;
|
|
int64 indexID = 3;
|
|
repeated common.KeyValuePair index_params = 4;
|
|
common.IndexState state = 5;
|
|
repeated string index_file_paths = 6;
|
|
}
|