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

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
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

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