mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add some comments in chap06_root_coordinator.md (#10237)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>pull/10298/head
parent
c7836f9f41
commit
e82e01a7fb
|
@ -9,7 +9,16 @@ type RootCoord interface {
|
|||
Component
|
||||
TimeTickProvider
|
||||
|
||||
//DDL request
|
||||
// DDL request
|
||||
// CreateCollection notifies RootCoord to create a collection
|
||||
//
|
||||
// ctx is the context to control request deadline and cancellation
|
||||
// req contains the request params, including database name(not used), collection name, collection schema and
|
||||
// physical channel num for inserting data
|
||||
//
|
||||
// The `ErrorCode` of `Status` is `Success` if create collection successfully;
|
||||
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
|
||||
// error is always nil
|
||||
CreateCollection(ctx context.Context, req *milvuspb.CreateCollectionRequest) (*commonpb.Status, error)
|
||||
DropCollection(ctx context.Context, req *milvuspb.DropCollectionRequest) (*commonpb.Status, error)
|
||||
HasCollection(ctx context.Context, req *milvuspb.HasCollectionRequest) (*milvuspb.BoolResponse, error)
|
||||
|
|
Loading…
Reference in New Issue