vitess-gh/go/cmd
Anthony Yeh d2d8d5a585
tabletmanager: Fully stop shard sync loop on shutdown. (#5667)
* tabletmanager: Fully stop shard sync loop on shutdown.

We've received reports of a panic upon vttablet shutdown that we believe
comes from the shard sync loop trying to restart its watch. This change
ensures that the shard sync loop is fully stopped before we close the
topology client.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>

* consultopo: Respect cancellation of Watch().

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2020-01-08 16:02:56 -08:00
..
automation_client add license in /go file 2019-10-21 22:30:02 +08:00
automation_server add license in /go file 2019-10-21 22:30:02 +08:00
mysqlctl Add check if mysqlctl EUID is 0 2020-01-01 23:20:42 -08:00
mysqlctld add license in /go file 2019-10-21 22:30:02 +08:00
query_analyzer add license in /go file 2019-10-21 22:30:02 +08:00
topo2topo add license in /go file 2019-10-21 22:30:02 +08:00
vtaclcheck add license in /go file 2019-10-21 22:30:02 +08:00
vtbackup vtbackup: Stop replication after reaching goal position. (#5437) 2019-11-15 14:38:29 -08:00
vtbench add license in /go file 2019-10-21 22:30:02 +08:00
vtclient add license in /go file 2019-10-21 22:30:02 +08:00
vtcombo add license in /go file 2019-10-21 22:30:02 +08:00
vtctl add license in /go file 2019-10-21 22:30:02 +08:00
vtctlclient add license in /go file 2019-10-21 22:30:02 +08:00
vtctld add license in /go file 2019-10-21 22:30:02 +08:00
vtexplain add license in /go file 2019-10-21 22:30:02 +08:00
vtgate add license in /go file 2019-10-21 22:30:02 +08:00
vtgateclienttest add license in /go file 2019-10-21 22:30:02 +08:00
vttablet tabletmanager: Fully stop shard sync loop on shutdown. (#5667) 2020-01-08 16:02:56 -08:00
vttestserver Enable authorization via mtls client cert attribute 2020-01-07 16:08:03 +11:00
vttlstest add license in /go file 2019-10-21 22:30:02 +08:00
vtworker add license in /go file 2019-10-21 22:30:02 +08:00
vtworkerclient add license in /go file 2019-10-21 22:30:02 +08:00
zk replace strings.TrimRight with strings.TrimSuffix and fix typo 2019-12-04 11:07:27 +08:00
zkctl add license in /go file 2019-10-21 22:30:02 +08:00
zkctld add license in /go file 2019-10-21 22:30:02 +08:00
tools.go Add check if mysqlctl EUID is 0 2020-01-01 23:20:42 -08:00