2020-10-24 18:04:57 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
package milvus.proto.etcd;
|
|
|
|
option go_package="github.com/zilliztech/milvus-distributed/internal/proto/etcdpb";
|
|
|
|
|
|
|
|
import "common.proto";
|
|
|
|
import "schema.proto";
|
|
|
|
|
|
|
|
message TenantMeta {
|
2020-11-13 15:17:18 +08:00
|
|
|
int64 ID = 1;
|
2020-10-29 19:55:57 +08:00
|
|
|
int64 num_query_nodes = 2;
|
2020-11-13 15:17:18 +08:00
|
|
|
repeated string insert_channelIDs = 3;
|
|
|
|
string query_channelID = 4;
|
2020-10-24 18:04:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message ProxyMeta {
|
2020-11-13 15:17:18 +08:00
|
|
|
int64 ID = 1;
|
2020-10-24 18:04:57 +08:00
|
|
|
common.Address address = 2;
|
2020-11-13 15:17:18 +08:00
|
|
|
repeated string result_channelIDs = 3;
|
2020-10-24 18:04:57 +08:00
|
|
|
}
|
|
|
|
|
2021-01-19 14:44:03 +08:00
|
|
|
message PartitionInfo {
|
|
|
|
string partition_name = 1;
|
2021-03-12 14:22:09 +08:00
|
|
|
int64 partitionID = 2;
|
2021-01-19 14:44:03 +08:00
|
|
|
repeated int64 segmentIDs = 3;
|
|
|
|
}
|
|
|
|
|
2021-02-09 13:11:55 +08:00
|
|
|
message IndexInfo {
|
|
|
|
string index_name = 1;
|
|
|
|
int64 indexID = 2;
|
|
|
|
repeated common.KeyValuePair index_params = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FieldIndexInfo{
|
2021-02-02 10:09:10 +08:00
|
|
|
int64 filedID = 1;
|
2021-02-11 08:41:59 +08:00
|
|
|
int64 indexID = 2;
|
2021-02-02 10:09:10 +08:00
|
|
|
}
|
|
|
|
|
2021-01-19 14:44:03 +08:00
|
|
|
message CollectionInfo {
|
|
|
|
int64 ID = 1;
|
|
|
|
schema.CollectionSchema schema = 2;
|
|
|
|
uint64 create_time = 3;
|
|
|
|
repeated int64 partitionIDs = 4;
|
2021-02-09 13:11:55 +08:00
|
|
|
repeated FieldIndexInfo field_indexes = 5;
|
2021-01-19 14:44:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message SegmentIndexInfo {
|
|
|
|
int64 segmentID = 1;
|
|
|
|
int64 fieldID = 2;
|
|
|
|
int64 indexID = 3;
|
|
|
|
int64 buildID = 4;
|
2021-03-08 15:46:51 +08:00
|
|
|
bool enable_index = 5;
|
2021-01-19 14:44:03 +08:00
|
|
|
}
|
|
|
|
|
2020-10-24 18:04:57 +08:00
|
|
|
message CollectionMeta {
|
2020-11-13 15:17:18 +08:00
|
|
|
int64 ID=1;
|
2020-10-24 18:04:57 +08:00
|
|
|
schema.CollectionSchema schema=2;
|
|
|
|
uint64 create_time=3;
|
2020-11-13 15:17:18 +08:00
|
|
|
repeated int64 segmentIDs=4;
|
2020-10-24 18:04:57 +08:00
|
|
|
repeated string partition_tags=5;
|
2021-03-12 14:22:09 +08:00
|
|
|
repeated int64 partitionIDs=6;
|
2020-10-24 18:04:57 +08:00
|
|
|
}
|
|
|
|
|
2020-12-22 20:16:32 +08:00
|
|
|
message FieldBinlogFiles {
|
|
|
|
int64 fieldID = 1;
|
|
|
|
repeated string binlog_files = 2;
|
|
|
|
}
|
2020-10-24 18:04:57 +08:00
|
|
|
|
|
|
|
message SegmentMeta {
|
2020-11-13 15:17:18 +08:00
|
|
|
int64 segmentID=1;
|
|
|
|
int64 collectionID =2;
|
2020-10-24 18:04:57 +08:00
|
|
|
string partition_tag=3;
|
|
|
|
int32 channel_start=4;
|
|
|
|
int32 channel_end=5;
|
|
|
|
uint64 open_time=6;
|
|
|
|
uint64 close_time=7;
|
|
|
|
int64 num_rows=8;
|
2020-11-18 19:46:18 +08:00
|
|
|
int64 mem_size=9;
|
2020-12-22 20:16:32 +08:00
|
|
|
repeated FieldBinlogFiles binlog_file_paths = 10;
|
2020-10-28 10:09:35 +08:00
|
|
|
}
|
2020-12-22 20:16:32 +08:00
|
|
|
|
|
|
|
message FieldIndexMeta {
|
|
|
|
int64 segmentID = 1;
|
|
|
|
int64 fieldID = 2;
|
2020-12-23 11:34:35 +08:00
|
|
|
int64 indexID = 3;
|
|
|
|
repeated common.KeyValuePair index_params = 4;
|
2021-01-18 19:32:08 +08:00
|
|
|
common.IndexState state = 5;
|
2020-12-23 11:34:35 +08:00
|
|
|
repeated string index_file_paths = 6;
|
2021-01-18 19:32:08 +08:00
|
|
|
}
|