2020-10-24 18:04:57 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
package milvus.proto.etcd;
|
2021-04-22 14:45:57 +08:00
|
|
|
option go_package="github.com/milvus-io/milvus/internal/proto/etcdpb";
|
2020-10-24 18:04:57 +08:00
|
|
|
|
|
|
|
import "common.proto";
|
|
|
|
import "schema.proto";
|
|
|
|
|
|
|
|
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-02-09 13:11:55 +08:00
|
|
|
message IndexInfo {
|
|
|
|
string index_name = 1;
|
|
|
|
int64 indexID = 2;
|
|
|
|
repeated common.KeyValuePair index_params = 3;
|
2022-06-17 18:08:12 +08:00
|
|
|
bool deleted = 4;
|
2021-02-09 13:11:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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-07-06 09:16:03 +08:00
|
|
|
repeated string partitionNames = 5;
|
2021-07-03 14:36:18 +08:00
|
|
|
repeated FieldIndexInfo field_indexes = 6;
|
|
|
|
repeated string virtual_channel_names = 7;
|
|
|
|
repeated string physical_channel_names = 8;
|
2021-07-21 18:00:14 +08:00
|
|
|
repeated uint64 partition_created_timestamps = 9;
|
2021-09-08 15:00:00 +08:00
|
|
|
int32 shards_num = 10;
|
2021-09-27 14:13:58 +08:00
|
|
|
repeated common.KeyDataPair start_positions = 11;
|
2021-12-21 19:49:02 +08:00
|
|
|
common.ConsistencyLevel consistency_level = 12;
|
2021-01-19 14:44:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message SegmentIndexInfo {
|
2021-07-03 20:00:40 +08: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-16 20:12:11 +08:00
|
|
|
bool by_auto_flush = 8;
|
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
|
|
|
}
|