未验证 提交 e9f99081 编写于 作者: W wayblink 提交者: GitHub

Start management API before roles run (#21874)

Signed-off-by: Nwayblink <anyang.wang@zilliz.com>
上级 5d5a04d3
......@@ -228,6 +228,8 @@ func (mr *MilvusRoles) Run(local bool, alias string) {
paramtable.Init()
}
management.ServeHTTP()
var rc *components.RootCoord
var wg sync.WaitGroup
if mr.EnableRootCoord {
......@@ -298,7 +300,6 @@ func (mr *MilvusRoles) Run(local bool, alias string) {
mr.setupLogger()
tracer.Init()
metrics.Register(Registry)
management.ServeHTTP()
paramtable.SetCreateTime(time.Now())
paramtable.SetUpdateTime(time.Now())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册