2020-10-24 10:04:57 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package milvus.proto.etcd;
|
2021-04-22 06:45:57 +00:00
|
|
|
option go_package="github.com/milvus-io/milvus/internal/proto/etcdpb";
|
2020-10-24 10:04:57 +00:00
|
|
|
|
|
|
|
import "common.proto";
|
|
|
|
import "schema.proto";
|
|
|
|
|
|
|
|
message ProxyMeta {
|
2020-11-13 07:17:18 +00:00
|
|
|
int64 ID = 1;
|
2020-10-24 10:04:57 +00:00
|
|
|
common.Address address = 2;
|
2020-11-13 07:17:18 +00:00
|
|
|
repeated string result_channelIDs = 3;
|
2020-10-24 10:04:57 +00:00
|
|
|
}
|
|
|
|
|
2021-02-09 05:11:55 +00:00
|
|
|
message IndexInfo {
|
|
|
|
string index_name = 1;
|
|
|
|
int64 indexID = 2;
|
|
|
|
repeated common.KeyValuePair index_params = 3;
|
2022-06-17 10:08:12 +00:00
|
|
|
bool deleted = 4;
|
2022-06-21 10:44:12 +00:00
|
|
|
uint64 create_time = 5;
|
2021-02-09 05:11:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message FieldIndexInfo{
|
2021-02-02 02:09:10 +00:00
|
|
|
int64 filedID = 1;
|
2021-02-11 00:41:59 +00:00
|
|
|
int64 indexID = 2;
|
2021-02-02 02:09:10 +00:00
|
|
|
}
|
|
|
|
|
2021-01-19 06:44:03 +00:00
|
|
|
message CollectionInfo {
|
|
|
|
int64 ID = 1;
|
|
|
|
schema.CollectionSchema schema = 2;
|
|
|
|
uint64 create_time = 3;
|
|
|
|
repeated int64 partitionIDs = 4;
|
2021-07-06 01:16:03 +00:00
|
|
|
repeated string partitionNames = 5;
|
2021-07-03 06:36:18 +00:00
|
|
|
repeated FieldIndexInfo field_indexes = 6;
|
|
|
|
repeated string virtual_channel_names = 7;
|
|
|
|
repeated string physical_channel_names = 8;
|
2021-07-21 10:00:14 +00:00
|
|
|
repeated uint64 partition_created_timestamps = 9;
|
2021-09-08 07:00:00 +00:00
|
|
|
int32 shards_num = 10;
|
2021-09-27 06:13:58 +00:00
|
|
|
repeated common.KeyDataPair start_positions = 11;
|
2021-12-21 11:49:02 +00:00
|
|
|
common.ConsistencyLevel consistency_level = 12;
|
2021-01-19 06:44:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message SegmentIndexInfo {
|
2021-07-03 12:00:40 +00:00
|
|
|
int64 collectionID = 1;
|
|
|
|
int64 partitionID = 2;
|
|
|
|
int64 segmentID = 3;
|
|
|
|
int64 fieldID = 4;
|
|
|
|
int64 indexID = 5;
|
|
|
|
int64 buildID = 6;
|
|
|
|
bool enable_index = 7;
|
2022-06-21 10:44:12 +00:00
|
|
|
uint64 create_time = 8;
|
2021-01-19 06:44:03 +00:00
|
|
|
}
|
|
|
|
|
2020-10-24 10:04:57 +00:00
|
|
|
message CollectionMeta {
|
2020-11-13 07:17:18 +00:00
|
|
|
int64 ID=1;
|
2020-10-24 10:04:57 +00:00
|
|
|
schema.CollectionSchema schema=2;
|
|
|
|
uint64 create_time=3;
|
2020-11-13 07:17:18 +00:00
|
|
|
repeated int64 segmentIDs=4;
|
2020-10-24 10:04:57 +00:00
|
|
|
repeated string partition_tags=5;
|
2021-03-12 06:22:09 +00:00
|
|
|
repeated int64 partitionIDs=6;
|
2020-10-24 10:04:57 +00:00
|
|
|
}
|