mirror of https://github.com/milvus-io/milvus.git
fix: Indexnode stuck at stopping progress cause by wrong lifetime control (#34559)
issue: #34557 pr: #34558 Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/34534/head
parent
1589d68413
commit
a7190b042d
|
@ -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