mirror of https://github.com/milvus-io/milvus.git
Fix datacoord stop bug (#6642)
issue: #6641 Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/6783/head
parent
fc74a0f578
commit
aa20d88f6f
|
@ -281,6 +281,7 @@ func (s *Server) startStatsChannel(ctx context.Context) {
|
|||
}
|
||||
msgPack := statsStream.Consume()
|
||||
if msgPack == nil {
|
||||
log.Debug("receive nil stats msg, shutdown stats channel")
|
||||
return
|
||||
}
|
||||
for _, msg := range msgPack.Msgs {
|
||||
|
@ -321,6 +322,7 @@ func (s *Server) startDataNodeTtLoop(ctx context.Context) {
|
|||
}
|
||||
msgPack := ttMsgStream.Consume()
|
||||
if msgPack == nil {
|
||||
log.Debug("receive nil tt msg, shutdown tt channel")
|
||||
return
|
||||
}
|
||||
for _, msg := range msgPack.Msgs {
|
||||
|
|
Loading…
Reference in New Issue