Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
  • Loading branch information
harshit-gangal committed Jul 8, 2024
1 parent a8f689f commit c2bea37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions go/vt/vttablet/tabletserver/health_streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ type healthStreamer struct {
// isServingPrimary stores if this tablet is currently the serving primary or not.
isServingPrimary bool

te *TxEngine
se *schema.Engine
history *history.History

Expand Down
8 changes: 0 additions & 8 deletions go/vt/vttablet/tabletserver/tx_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,14 +480,6 @@ func (te *TxEngine) startWatchdog() {
return
}

coordConn, err := vtgateconn.Dial(ctx, te.coordinatorAddress)
if err != nil {
te.env.Stats().InternalErrors.Add("WatchdogFail", 1)
log.Errorf("Error connecting to coordinator '%v': %v", te.coordinatorAddress, err)
return
}
defer coordConn.Close()

var wg sync.WaitGroup
for tx := range txs {
wg.Add(1)
Expand Down

0 comments on commit c2bea37

Please sign in to comment.