From c49f2c947f0ffee43d4e4ab19dd3c5b920ba13a4 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Sat, 2 Oct 2021 09:18:28 +0800 Subject: [PATCH] [skip ci] Update comment for update state code (#8948) Signed-off-by: yudong.cai --- internal/types/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/types/types.go b/internal/types/types.go index bd2b78bd50..67f1bc0ce5 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -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