mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
Fix querycoord handle offline node with wrong nodeID (#18590)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
1366f130a2
commit
29384ddbc0
@ -369,8 +369,8 @@ func (qc *QueryCoord) watchNodeLoop() {
|
||||
offlineNodes := qc.cluster.OfflineNodeIDs()
|
||||
if len(offlineNodes) != 0 {
|
||||
log.Warn("find querynode down while coord not alive", zap.Any("nodeIDs", offlineNodes))
|
||||
for node := range offlineNodes {
|
||||
qc.offlineNodesChan <- UniqueID(node)
|
||||
for _, node := range offlineNodes {
|
||||
qc.offlineNodesChan <- node
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user