From 6d652263a26f2ad960995ca653bc2c68539b7b6f Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Thu, 18 Nov 2021 10:45:12 +0800 Subject: [PATCH] [skip ci]Add comment for startGrpcLoop in indexnode (#12046) Signed-off-by: Cai.Zhang --- internal/distributed/indexnode/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/indexnode/service.go b/internal/distributed/indexnode/service.go index ac4e58ff72..dc05403c93 100644 --- a/internal/distributed/indexnode/service.go +++ b/internal/distributed/indexnode/service.go @@ -67,6 +67,7 @@ func (s *Server) Run() error { return nil } +// startGrpcLoop starts the grep loop of IndexNode component. func (s *Server) startGrpcLoop(grpcPort int) { defer s.loopWg.Done()