mirror of https://github.com/milvus-io/milvus.git
[skip-ci]Update proto in design docs (#8243)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/8248/head
parent
68011b061b
commit
ac2aade0e4
|
@ -72,6 +72,3 @@ for mp := seeking(p1) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue