[skip ci] Add graceful stop grpc server log in datacoord (#12825)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
pull/12452/head
jaime 2021-12-08 15:04:00 +08:00 committed by GitHub
parent cb4711425e
commit a1b907313f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ func (s *Server) Stop() error {
s.cancel()
if s.grpcServer != nil {
log.Debug("Graceful stop grpc server...")
s.grpcServer.GracefulStop()
}