未验证 提交 098516f3 编写于 作者: B Bingyi Sun 提交者: GitHub

Improve log (#13696)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
Co-authored-by: Nsunby <bingyi.sun@zilliz.com>
上级 57ec25c2
......@@ -214,7 +214,7 @@ func (s *Server) QuitSignal() <-chan struct{} {
func (s *Server) Register() error {
s.session.Register()
go s.session.LivenessCheck(s.serverLoopCtx, func() {
log.Error("DataCoord disconnected from etcd, process will exit", zap.Int64("ServerID", s.session.ServerID))
log.Error("DataCoord disconnected from etcd and exited", zap.Int64("ServerID", s.session.ServerID))
if err := s.Stop(); err != nil {
log.Fatal("failed to stop server", zap.Error(err))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册