fix: [2.4] Remove group checker when closing qn pipeline (#33443) (#33485)

Cherry-pick from master
pr: #33443
See also #33442

This fix shall prevent group checker keep printing "some node(s) haven't
received input" err message after collection released

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2024-06-03 19:25:51 +08:00 committed by GitHub
parent 30fd4a955a
commit c9a1acc31e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,11 @@ func (p *pipeline) Start() error {
}
func (p *pipeline) Close() {
for _, node := range p.nodes {
if node.checker != nil {
node.checker.Remove(p.checkerNames[node.node.Name()])
}
}
}
func (p *pipeline) process() {