[skip e2e]Improve log (#13700)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
Bingyi Sun 2021-12-22 15:15:05 +08:00 committed by GitHub
parent 79f0889167
commit ca71e134d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,7 +365,7 @@ func (s *Server) initGarbageCollection() error {
func (s *Server) initServiceDiscovery() error { func (s *Server) initServiceDiscovery() error {
sessions, rev, err := s.session.GetSessions(typeutil.DataNodeRole) sessions, rev, err := s.session.GetSessions(typeutil.DataNodeRole)
if err != nil { if err != nil {
log.Debug("dataCoord initServiceDiscovery failed", zap.Error(err)) log.Debug("DataCoord failed to init service discovery", zap.Error(err))
return err return err
} }
log.Debug("DataCoord success to get DataNode sessions", zap.Any("sessions", sessions)) log.Debug("DataCoord success to get DataNode sessions", zap.Any("sessions", sessions))