add log when master recovered from saved state.

gangliao-patch-1
Helin Wang 9 years ago
parent a4ba403e79
commit bf79c9e5bb

@ -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

Loading…
Cancel
Save