mirror of https://github.com/milvus-io/milvus.git
fix: Fix datanode cannot watch channel (#35136)
Panic when `checkWatchedList` failed, this can avoid unnoticed quit of the channel watch goroutine. issue: https://github.com/milvus-io/milvus/issues/35135 Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/35074/head
parent
20dca130c6
commit
080ed6d96a
|
@ -56,7 +56,7 @@ func (node *DataNode) StartWatchChannels(ctx context.Context) {
|
|||
err := node.checkWatchedList()
|
||||
if err != nil {
|
||||
log.Warn("StartWatchChannels failed", zap.Error(err))
|
||||
return
|
||||
panic(err)
|
||||
}
|
||||
for {
|
||||
select {
|
||||
|
|
Loading…
Reference in New Issue