feat: [2.5]reorder RootCoord shutdown to the last in stopCoordinators (#43024)

reorder RootCoord shutdown to the last in stopCoordinators
issue:https://github.com/milvus-io/milvus/issues/43018

Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
This commit is contained in:
Xianhui Lin 2025-07-07 17:08:49 +08:00 committed by GitHub
parent e13b55fc0a
commit bdfc740a73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,7 +549,7 @@ func (mr *MilvusRoles) Run() {
<-mr.closed
// stop coordinators first
coordinators := []component{rootCoord, dataCoord, indexCoord, queryCoord}
coordinators := []component{dataCoord, indexCoord, queryCoord, rootCoord}
for idx, coord := range coordinators {
log.Warn("stop processing")
if coord != nil {