diff --git a/go/vt/vttablet/tabletserver/health_streamer.go b/go/vt/vttablet/tabletserver/health_streamer.go index 87a5235c2b2..9f999283ef4 100644 --- a/go/vt/vttablet/tabletserver/health_streamer.go +++ b/go/vt/vttablet/tabletserver/health_streamer.go @@ -346,7 +346,7 @@ func (hs *healthStreamer) reload(full map[string]*schema.Table, created, altered // Schema Reload to happen only on primary when it is serving. // We can be in a state when the primary is not serving after we have run DemotePrimary. In that case, // we don't want to run any queries in MySQL, so we shouldn't reload anything in the healthStreamer. - if !hs.isServingPrimary { + if !hs.isServingPrimary || hs.conns == nil { return nil }