Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update mysql2 gem #25649

Merged
merged 2 commits into from
Dec 17, 2018
Merged

update mysql2 gem #25649

merged 2 commits into from
Dec 17, 2018

Conversation

wjordan
Copy link
Contributor

@wjordan wjordan commented Oct 27, 2018

This mysql2 client update from 0.3.21 to 0.5.2 should auto-close db connections properly, eliminating 'aborted client' errors on the MySQL server.

0.3.21 -> 0.5.2
@wjordan
Copy link
Contributor Author

wjordan commented Dec 13, 2018

Reproduced the Pegasus test failures locally, it looks like the change triggering the failure was introduced in 0.4.3 or 0.4.4 (0.4.2 works fine, 0.4.3 is not supported in ActiveRecord, 0.4.4 generates test failures).

@wjordan
Copy link
Contributor Author

wjordan commented Dec 15, 2018

Still tracking the failure down- it seems that setting self.automatic_close = false in the Mysql2::Client constructor allows the tests to pass, but I think this specific feature we want to have enabled since it is the main reason for upgrading..

Fixes failing Pegasus tests where FakeDashboard session gets closed and
temporary tables are lost.
@wjordan wjordan requested a review from sureshc December 17, 2018 21:32
@wjordan wjordan merged commit 4b1658f into staging Dec 17, 2018
@wjordan wjordan deleted the mysql2_update branch December 17, 2018 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants