mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci] Add graceful stop grpc server log in indexnode (#12826)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
This commit is contained in:
parent
a1b907313f
commit
8b309eed80
@ -179,6 +179,7 @@ func (s *Server) Stop() error {
|
|||||||
s.indexnode.Stop()
|
s.indexnode.Stop()
|
||||||
}
|
}
|
||||||
if s.grpcServer != nil {
|
if s.grpcServer != nil {
|
||||||
|
log.Debug("Graceful stop grpc server...")
|
||||||
s.grpcServer.GracefulStop()
|
s.grpcServer.GracefulStop()
|
||||||
}
|
}
|
||||||
s.loopWg.Wait()
|
s.loopWg.Wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user