From e494b698a0a0107651cd7eb38d713a818a86033c Mon Sep 17 00:00:00 2001 From: Tanjin Xu Date: Mon, 13 Jan 2025 09:47:51 -0800 Subject: [PATCH] add more logging --- go/vt/discovery/healthcheck.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/vt/discovery/healthcheck.go b/go/vt/discovery/healthcheck.go index c26aac00097..8817e20e029 100644 --- a/go/vt/discovery/healthcheck.go +++ b/go/vt/discovery/healthcheck.go @@ -499,6 +499,8 @@ func (hc *HealthCheckImpl) updateHealth(th *TabletHealth, prevTarget *query.Targ hc.mu.Lock() defer hc.mu.Unlock() + log.Infof("updating tablet health: trivialUpdate: %v, up: %v, target: %v; tablet: %v; serving: %v", trivialUpdate, up, th.Target, th.Tablet, th.Serving) + tabletAlias := tabletAliasString(topoproto.TabletAliasString(th.Tablet.Alias)) // let's be sure that this tablet hasn't been deleted from the authoritative map // so that we're not racing to update it and in effect re-adding a copy of the