[skip ci] Update comment for update state code ()

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/9063/head
Cai Yudong 2021-10-02 09:18:28 +08:00 committed by GitHub
parent 31d547b80e
commit c49f2c947f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
internal/types

View File

@ -378,6 +378,8 @@ type RootCoord interface {
type RootCoordComponent interface {
RootCoord
// UpdateStateCode updates state code for RootCoord
// State includes: Initializing, Healthy and Abnormal
UpdateStateCode(internalpb.StateCode)
SetDataCoord(context.Context, DataCoord) error
SetIndexCoord(IndexCoord) error