未验证 提交 274913f0 编写于 作者: C Cai Yudong 提交者: GitHub

[skip ci] Update comment for drop alias (#8916)

Signed-off-by: Nyudong.cai <yudong.cai@zilliz.com>
上级 b304ab14
......@@ -274,6 +274,15 @@ type RootCoord interface {
// 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 notifies RootCoord to drop an alias for the collection
//
// ctx is the context to control request deadline and cancellation
// req contains the request params, including alias
//
// The `ErrorCode` of `Status` is `Success` if drop alias successfully;
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
// error is always nil
DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error)
AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册