mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Start management API before roles run (#21874)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
This commit is contained in:
parent
5d5a04d38e
commit
e9f99081e4
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user