Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
shanth96 committed Oct 25, 2024
1 parent c019d89 commit bc45190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/topo/zk2topo/zk_conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ func (c *ZkConn) withRetry(ctx context.Context, action func(conn *zk.Conn) error

// We got an error, because the connection was closed.
// Let's clear up our errored connection and try again.
log.Warningf("withRetry. ErrConnectionClosed")
c.mu.Lock()
if c.conn == conn {
c.conn = nil
Expand Down

0 comments on commit bc45190

Please sign in to comment.