8000 minor logging improvements by janeklb · Pull Request #1829 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/chop/config_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (cm *ConfigManager) getAllCRBasedConfigs(namespace string) {

cm.crConfigs = append(cm.crConfigs, &chOperatorConfiguration.Spec)

log.V(1).F().Error("Append ClickHouseOperatorConfigurations '%s/%s'.", namespace, name)
log.V(1).F().Info("Append ClickHouseOperatorConfigurations '%s/%s'.", namespace, name)
continue
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/chi/worker-reconciler-chi.go
Original file line number Diff line number Diff line change
Expand Up @@ -891,8 +891,8 @@ func (w *worker) reconcileHostIncludeIntoAllActivities(ctx context.Context, host
l.Info("Reconcile Host completed. Host is stopped: %s", host.GetName())
return nil
case host.IsTroubleshoot():
return nil
l.Info("Reconcile Host completed. Host is in troubleshoot mode: %s", host.GetName())
return nil
}

// Report host software version
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/chi/worker-status-helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (w *worker) isPodRestarted(ctx context.Context, host *api.Host, start map[s

func (w *worker) doesHostHaveNoRunningQueries(ctx context.Context, host *api.Host) bool {
n, _ := w.ensureClusterSchemer(host).HostActiveQueriesNum(ctx, host)
log.V(1).Info("active queries %d host: %s", n, host.GetName())
return n <= 1
}

Expand Down
0