Closed tomwei7 closed 5 months ago
Execute some query when mysql host is down or unavailable will set c.conn = nil and it case panic when close canal client.
c.conn = nil
https://github.com/go-mysql-org/go-mysql/blob/f0df38a3258e781900cafb36c1887cc9e71e9089/canal/canal.go#L521-L526
Execute some query when mysql host is down or unavailable will set
c.conn = nil
and it case panic when close canal client.https://github.com/go-mysql-org/go-mysql/blob/f0df38a3258e781900cafb36c1887cc9e71e9089/canal/canal.go#L521-L526