mirror of https://github.com/milvus-io/milvus.git
fix: Indexnode stuck at stopping progress cause by wrong lifetime control (#34558)
issue: #34557 Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/34575/head
parent
4850336ca3
commit
ebc68d2774
internal/indexnode
|
@ -350,6 +350,7 @@ func (i *IndexNode) ShowConfigurations(ctx context.Context, req *internalpb.Show
|
||||||
Configuations: nil,
|
Configuations: nil,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
defer i.lifetime.Done()
|
||||||
|
|
||||||
configList := make([]*commonpb.KeyValuePair, 0)
|
configList := make([]*commonpb.KeyValuePair, 0)
|
||||||
for key, value := range Params.GetComponentConfigurations("indexnode", req.Pattern) {
|
for key, value := range Params.GetComponentConfigurations("indexnode", req.Pattern) {
|
||||||
|
|
Loading…
Reference in New Issue