Skip to content

Commit e494b69

Browse files
committed
add more logging
1 parent 20ec3f2 commit e494b69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/vt/discovery/healthcheck.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ func (hc *HealthCheckImpl) updateHealth(th *TabletHealth, prevTarget *query.Targ
499499
hc.mu.Lock()
500500
defer hc.mu.Unlock()
501501

502+
log.Infof("updating tablet health: trivialUpdate: %v, up: %v, target: %v; tablet: %v; serving: %v", trivialUpdate, up, th.Target, th.Tablet, th.Serving)
503+
502504
tabletAlias := tabletAliasString(topoproto.TabletAliasString(th.Tablet.Alias))
503505
// let's be sure that this tablet hasn't been deleted from the authoritative map
504506
// so that we're not racing to update it and in effect re-adding a copy of the

0 commit comments

Comments
 (0)