aboutsummaryrefslogtreecommitdiff
path: root/internal/manager
diff options
context:
space:
mode:
Diffstat (limited to 'internal/manager')
-rw-r--r--internal/manager/manager.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/manager/manager.go b/internal/manager/manager.go
index e302b4f..90f6507 100644
--- a/internal/manager/manager.go
+++ b/internal/manager/manager.go
@@ -182,6 +182,7 @@ func (mgr *Manager) addLogs(ctx context.Context, logs []metadata.Log) {
mgr.Logger.Infof("adding log %s with existing state on disk\n", log.URL)
} else if err != nil {
mgr.Logger.Noticef("restart required: failed to bootstrap new log %s: %v\n", log.URL, err)
+ mgr.Metrics.NeedRestart()
} else {
mgr.Logger.Infof("bootstrapping log %s at next index 0\n", log.URL)
}