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

Added stress test, which uses TCP proxy to simulate flaky connections #2460

merged 6 commits into from Feb 16, 2018


Copy link

@elhigu elhigu commented Feb 10, 2018

Shows #2443 crash (and earlier pool versions memory leaks with postgres).

Shows also some edge cases when connections are broken e.g. during ending connection because of timeout etc.

Removes copy-paste from mysql2 driver.

Fixes mysql driven create / destroy connection functionality.

@elhigu elhigu force-pushed the stress-test-showing-mysql2-crash branch from 589e94e to 535a61d Feb 16, 2018
Acquire connection did bind error handler too late and didn't free it on success. Destroy did free event listeners before connection end was called, so error during connection end leaked out.
@elhigu elhigu force-pushed the stress-test-showing-mysql2-crash branch from 535a61d to 402be73 Feb 16, 2018
@elhigu elhigu merged commit e250260 into master Feb 16, 2018
2 checks passed
@kibertoad kibertoad deleted the stress-test-showing-mysql2-crash branch Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant