Skip to content

Commit

Permalink
add debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjinx committed Nov 1, 2024
1 parent 6dbb66c commit 48a811a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/vt/vtgate/tabletgateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 48a811a

Please sign in to comment.