diff --git a/go/vt/vtgate/buffer/buffer.go b/go/vt/vtgate/buffer/buffer.go index 36c6c835a00..bfc5eae0125 100644 --- a/go/vt/vtgate/buffer/buffer.go +++ b/go/vt/vtgate/buffer/buffer.go @@ -180,11 +180,6 @@ func causedByFailover(err error) bool { if strings.Contains(err.Error(), "fatal: failover in progress (errno 1227) (sqlstate 42000)") { return true } - case vtrpcpb.ErrorCode_UNKNOWN_ERROR: - // Google internal flavor. - if strings.Contains(err.Error(), "fatal: MySQL server has gone away (errno 2006) (sqlstate HY000)") { - return true - } } } return false