You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of a long-running pt-osc migration, this error can occur:
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: MySQL server has gone away: INSERT INTO `schema_migrations` (`version`) VALUES ('20150622154913')
ActiveRecord's MySQL connection is likely exceeding the server's wait_timeout and hence its connection gets dropped.
The likely fix is to refresh/re-establish the MySQL connection after pt-osc completes and before inserting the version.
The text was updated successfully, but these errors were encountered:
At the end of a long-running pt-osc migration, this error can occur:
ActiveRecord's MySQL connection is likely exceeding the server's
wait_timeout
and hence its connection gets dropped.The likely fix is to refresh/re-establish the MySQL connection after pt-osc completes and before inserting the
version
.The text was updated successfully, but these errors were encountered: