worker: Retry writes if the MySQL error code is 2013 ("Lost connection").
worker: Retry writes if the MySQL error code is 2013 ("Lost connection").

We have seen errors due to this in the wild and it's fine to retry on this error.

mapbased/vitess,enisoc/vitess,tirsen/vitess,applift/vitess,rnavarro/vitess,vitessio/vitess,tirsen/vitess,applift/vitess,dumbunny/vitess,mattharden/vitess,alainjobart/vitess,mattharden/vitess,alainjobart/vitess,dumbunny/vitess,HubSpot/vitess,dumbunny/vitess,dcadevil/vitess,alainjobart/vitess,applift/vitess,vitessio/vitess,mattharden/vitess,mahak/vitess,enisoc/vitess,mapbased/vitess,alainjobart/vitess,davygeek/vitess,enisoc/vitess,davygeek/vitess,mapbased/vitess,rnavarro/vitess,alainjobart/vitess,rnavarro/vitess,HubSpot/vitess,HubSpot/vitess,alainjobart/vitess,dcadevil/vitess,davygeek/vitess,enisoc/vitess,tinyspeck/vitess,dcadevil/vitess,vitessio/vitess,vitessio/vitess,tirsen/vitess,tirsen/vitess,sougou/vitess,mahak/vitess,tinyspeck/vitess,dcadevil/vitess,davygeek/vitess,HubSpot/vitess,mapbased/vitess,HubSpot/vitess,tirsen/vitess,applift/vitess,dumbunny/vitess,mapbased/vitess,tirsen/vitess,pivanof/vitess,vitessio/vitess,mapbased/vitess,applift/vitess,applift/vitess,dumbunny/vitess,pivanof/vitess,mattharden/vitess,dcadevil/vitess,mahak/vitess,mattharden/vitess,sougou/vitess,mattharden/vitess,HubSpot/vitess,mahak/vitess,mahak/vitess,tirsen/vitess,applift/vitess,tinyspeck/vitess,rnavarro/vitess,vitessio/vitess,enisoc/vitess,mapbased/vitess,applift/vitess,pivanof/vitess,mattharden/vitess,alainjobart/vitess,dumbunny/vitess,pivanof/vitess,mahak/vitess,applift/vitess,davygeek/vitess,mattharden/vitess,dcadevil/vitess,enisoc/vitess,sougou/vitess,tinyspeck/vitess,dumbunny/vitess,davygeek/vitess,pivanof/vitess,pivanof/vitess,vitessio/vitess,rnavarro/vitess,sougou/vitess,HubSpot/vitess,davygeek/vitess,tirsen/vitess,rnavarro/vitess,sougou/vitess,tinyspeck/vitess,mahak/vitess,tinyspeck/vitess,mahak/vitess,vitessio/vitess,mapbased/vitess,applift/vitess,mapbased/vitess,HubSpot/vitess,rnavarro/vitess,pivanof/vitess,dumbunny/vitess,alainjobart/vitess,dumbunny/vitess,mattharden/vitess,sougou/vitess,enisoc/vitess,pivanof/vitess,pivanof/vitess,sougou/vitess,rnavarro/vitess,tinyspeck/vitess,dumbunny/vitess,mapbased/vitess,dcadevil/vitess,tirsen/vitess,rnavarro/vitess,mattharden/vitess,sougou/vitess