From ebc68d277403701160a9c6d61f8539436ed5dc63 Mon Sep 17 00:00:00 2001 From: wei liu Date: Wed, 10 Jul 2024 15:12:13 +0800 Subject: [PATCH] fix: Indexnode stuck at stopping progress cause by wrong lifetime control (#34558) issue: #34557 Signed-off-by: Wei Liu --- internal/indexnode/indexnode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/indexnode/indexnode.go b/internal/indexnode/indexnode.go index d904a4a296..f5ef580872 100644 --- a/internal/indexnode/indexnode.go +++ b/internal/indexnode/indexnode.go @@ -350,6 +350,7 @@ func (i *IndexNode) ShowConfigurations(ctx context.Context, req *internalpb.Show Configuations: nil, }, nil } + defer i.lifetime.Done() configList := make([]*commonpb.KeyValuePair, 0) for key, value := range Params.GetComponentConfigurations("indexnode", req.Pattern) {