diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index 5e8a0c8e8c..97843e8e00 100644 --- a/internal/querycoord/query_coord.go +++ b/internal/querycoord/query_coord.go @@ -85,6 +85,7 @@ func (qc *QueryCoord) Register() error { return nil } +// Init function initializes the queryCoord's meta, cluster, etcdKV and task scheduler func (qc *QueryCoord) Init() error { connectEtcdFn := func() error { etcdKV, err := etcdkv.NewEtcdKV(Params.EtcdEndpoints, Params.MetaRootPath)