[skip-ci]Update proto in design docs (#8243)

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/8248/head
XuanYang-cn 2021-09-18 18:35:56 +08:00 committed by GitHub
parent 68011b061b
commit ac2aade0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 20 deletions

View File

@ -72,6 +72,3 @@ for mp := seeking(p1) {
} }
} }
``` ```

View File

@ -163,10 +163,3 @@ WatchDmChannels -> new dataSyncService -> HEALTH
• If collection:flowgraph = n : n , load balancing on vchannels. • If collection:flowgraph = n : n , load balancing on vchannels.
![datanode_design](graphs/collection_flowgraph_n_n.jpg) ![datanode_design](graphs/collection_flowgraph_n_n.jpg)

View File

@ -18,12 +18,17 @@ service MilvusService {
} }
message CreateCollectionRequest { message CreateCollectionRequest {
common.MsgBase base = 1; // must // Not useful for now
common.MsgBase base = 1;
// Not useful for now
string db_name = 2; string db_name = 2;
string collection_name = 3; // must // The unique collection name in milvus.(Required)
// `schema` is the serialized `schema.CollectionSchema` string collection_name = 3;
bytes schema = 4; // must // The serialized `schema.CollectionSchema`(Required)
int32 shards_num = 5; // must. Once set, no modification is allowed bytes schema = 4;
// Once set, no modification is allowed (Optional)
// https://github.com/milvus-io/milvus/issues/6690
int32 shards_num = 5;
} }
message CollectionSchema { message CollectionSchema {
@ -54,14 +59,13 @@ type task interface {
Notify(err error) Notify(err error)
Notify(err error) Notify(err error)
type CreateCollectionTask struct { type createCollectionTask struct {
Condition Condition
*milvuspb.CreateCollectionRequest *milvuspb.CreateCollectionRequest
ctx context.Context ctx context.Context
rootCoord types.RootCoord rootCoord types.RootCoord
dataCoordClient types.DataCoord result *commonpb.Status
result *commonpb.Status schema *schemapb.CollectionSchema
schema *schemapb.CollectionSchema
} }
``` ```