All ClickHouseKeeperInstallation reconcile log lines render the object-meta segment as unknown, e.g.:
reconcileCR():unknown:CR has reconcile work - continue reconcile
The announcer formats lines as file:line:function:prefix:meta:message (pkg/announcer/announcer.go). meta comes from M(), whose type-switch only handles CHI types (ClickHouseInstallation, Cluster, ChiShard, ChiReplica, Host, ClickHouseOperatorConfiguration, ClickHouseInstallationTemplate) and ends with:
default:
b.meta = fmt.Sprintf("unknown")
There's no case for ClickHouseKeeperInstallation, so every CHK line hits the default. Expected CHK:<ns>/<name> (as CHI shows CHI:<ns>/<name>).
Cosmetic only, but hurts CHK log readability. Fix = add a *ClickHouseKeeperInstallation case to M(). Seen on 0.27.0.
All
ClickHouseKeeperInstallationreconcile log lines render the object-meta segment asunknown, e.g.:The announcer formats lines as
file:line:function:prefix:meta:message(pkg/announcer/announcer.go).metacomes fromM(), whose type-switch only handles CHI types (ClickHouseInstallation,Cluster,ChiShard,ChiReplica,Host,ClickHouseOperatorConfiguration,ClickHouseInstallationTemplate) and ends with:default: b.meta = fmt.Sprintf("unknown")There's no case for
ClickHouseKeeperInstallation, so every CHK line hits the default. ExpectedCHK:<ns>/<name>(as CHI showsCHI:<ns>/<name>).Cosmetic only, but hurts CHK log readability. Fix = add a
*ClickHouseKeeperInstallationcase toM(). Seen on 0.27.0.