mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip ci] Update comment for create alias (#8915)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
2e77c1d1cd
commit
b304ab14ef
@ -265,7 +265,14 @@ type RootCoord interface {
|
||||
// error is always nil
|
||||
DropIndex(ctx context.Context, req *milvuspb.DropIndexRequest) (*commonpb.Status, error)
|
||||
|
||||
// collection alias
|
||||
// CreateAlias notifies RootCoord to create an alias for the collection
|
||||
//
|
||||
// ctx is the context to control request deadline and cancellation
|
||||
// req contains the request params, including collection name and alias
|
||||
//
|
||||
// The `ErrorCode` of `Status` is `Success` if create alias successfully;
|
||||
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
|
||||
// error is always nil
|
||||
CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error)
|
||||
DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error)
|
||||
AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error)
|
||||
|
Loading…
Reference in New Issue
Block a user