提交 bf79c9e5 编写于 作者: H Helin Wang

add log when master recovered from saved state.

上级 a4ba403e
...@@ -110,6 +110,7 @@ func NewService(store Store, chunksPerTask int, timeoutDur time.Duration, timeou ...@@ -110,6 +110,7 @@ func NewService(store Store, chunksPerTask int, timeoutDur time.Duration, timeou
// and the master is ready. // and the master is ready.
s.initDone = true s.initDone = true
close(s.ready) close(s.ready)
log.Info("Master recovered from saved state.")
} }
return s, nil return s, nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册