From 48a811ad3bcaed66b74e9871d6dc17bd34310372 Mon Sep 17 00:00:00 2001 From: Tanjin Xu Date: Fri, 1 Nov 2024 09:00:17 -0700 Subject: [PATCH] add debug msg --- go/vt/vtgate/tabletgateway.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/vt/vtgate/tabletgateway.go b/go/vt/vtgate/tabletgateway.go index 2a72c937b17..337b7f05bc6 100644 --- a/go/vt/vtgate/tabletgateway.go +++ b/go/vt/vtgate/tabletgateway.go @@ -490,6 +490,9 @@ func (gw *TabletGateway) TabletsHealthyStatus() discovery.TabletsCacheStatusList } func (gw *TabletGateway) updateDefaultConnCollation(tablet *topodatapb.Tablet) { + if tablet.DefaultConnCollation == 45 { + log.Warningf("slack: unexpected collation on tablet host: %s", tablet.Hostname) + } if gw.defaultConnCollation.CompareAndSwap(0, tablet.DefaultConnCollation) { return }