[skip ci] Update comment for alter alias (#8918)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2021-10-01 00:48:17 +08:00 committed by GitHub
parent 274913f0ee
commit 8e26782fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,6 +284,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
DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error)
// AlterAlias notifies RootCoord to alter alias for the collection
//
// ctx is the context to control request deadline and cancellation
// req contains the request params, including collection name and new alias
//
// The `ErrorCode` of `Status` is `Success` if alter alias successfully;
// otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause.
// error is always nil
AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error)
//global timestamp allocator