mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Improve log (#13696)
Signed-off-by: sunby <bingyi.sun@zilliz.com> Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
57ec25c246
commit
098516f3d7
@ -214,7 +214,7 @@ func (s *Server) QuitSignal() <-chan struct{} {
|
|||||||
func (s *Server) Register() error {
|
func (s *Server) Register() error {
|
||||||
s.session.Register()
|
s.session.Register()
|
||||||
go s.session.LivenessCheck(s.serverLoopCtx, func() {
|
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 {
|
if err := s.Stop(); err != nil {
|
||||||
log.Fatal("failed to stop server", zap.Error(err))
|
log.Fatal("failed to stop server", zap.Error(err))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user